Coder Social home page Coder Social logo

cake-contrib / cake.semver Goto Github PK

View Code? Open in Web Editor NEW
5.0 6.0 8.0 90 KB

Cake build aliases and classes for Semantic Versioning

Home Page: https://cakebuild.net/extensions/cake-semver

License: MIT License

C# 95.73% PowerShell 2.51% Shell 1.75%

cake.semver's Introduction

Cake.SemVer

A set of aliases for http://cakebuild.net to help with Semantic Versioning.

You can easily reference Cake.SemVer directly in your build script via a cake addin:

#addin nuget:?package=Cake.SemVer
#addin nuget:?package=semver&version=2.0.4

NOTE: It's very important at this point in time to specify the semver package and the version 2.0.4 for it.

Aliases

Please visit the Cake Documentation for a list of available aliases:

http://cakebuild.net/dsl/semantic-versioning

Licensing

The MIT License (MIT)

Copyright (c) 2016 Jonathan Dick

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

cake.semver's People

Contributors

gep13 avatar redth avatar nils-a avatar jericho avatar gsferreira avatar

Stargazers

Qays H. Poonawala avatar GJORGJI DIMITROV avatar Colin Gourlay avatar  avatar Kostas Stroggylos avatar

Watchers

C. Augusto Proiete avatar  avatar James Cloos avatar  avatar Pascal Berger avatar  avatar

cake.semver's Issues

Does this library work with Cake 3.1?

ITNOA

Does this dsl work with Cake 3.1?

The assembly 'Cake.SemVer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'
is referencing an older version of Cake.Core (0.33.0).

Update Cake.SemVer README: Add link to GitHub Discussions

We've started using GitHub Discussions as the preferred communication channel moving forward (instead of Gitter) because it makes it easier to keep track of discussions in a structured way, especially if multiple discussions are happening at the same time. It also allows to search for previous questions/answers, which can be a helpful resource.

As such, we're recommending addin maintainers to update any links to Gitter to point to the GH discussions.

image

Template:

## Discussion

For questions and to discuss ideas & feature requests, use the [GitHub discussions on the Cake GitHub repository](https://github.com/cake-build/cake/discussions), under the [Extension Q&A](https://github.com/cake-build/cake/discussions/categories/extension-q-a) category.

[![Join in the discussion on the Cake repository](https://img.shields.io/badge/GitHub-Discussions-green?logo=github)](https://github.com/cake-build/cake/discussions)

Could not load ...\Addins\Cake.SemVer.3.0.0\lib\netstandard2.0\Cake.SemVer.dll

Using in build.cake

#addin nuget:?package=Cake.SemVer&version=3.0.0
#addin nuget:?package=semver&version=2.0.4
...
SemVersion version = ParseSemVer("6.6.0-alpha0005+develop.tf-changelog-00006386");

cause the error

Could not load T:\SEM.WinClient\SEM.WinClientTelerik\tools\Addins\Cake.SemVer.3.0.0\lib\netstandard2.0\Cake.SemVer.dll (missing netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)
T:/SEM.WinClient/SEM.WinClientTelerik/build.cake(76,4): error CS0246: The type or namespace name 'SemVersion' could not be found (are you missing a using directive or an assembly reference?)
T:/SEM.WinClient/SEM.WinClientTelerik/build.cake(76,25): error CS0103: The name 'ParseSemVer' does not exist in the current context

Any idea why?

Add cake-addin tag to Cake.SemVer NuGet package

The NuGet Gallery will soon include a "Cake" tab with instructions on how to use NuGet packages in Cake build scripts. I'd like to suggest that you include the tag cake-addin in the NuGet package of this addin, so that the NuGet Gallery can display the correct instructions to install this addin.

The UI will look similar to this:

image

Documentation on best practices on tags for Cake addins: https://cakebuild.net/docs/extending/addins/best-practices#tags

Recommended changes resulting from automated audit

We performed an automated audit of your Cake addin and found that it does not follow all the best practices.

We encourage you to make the following modifications:

  • You are currently referencing Cake.Core 0.26.1. Please upgrade to 0.28.0
  • You are currently referencing Cake.Common 0.26.1. Please upgrade to 0.28.0
  • The Cake.Core reference should be private. Specifically, your addin's .csproj should have a line similar to this: <PackageReference Include="Cake.Core" Version="0.28.0" PrivateAssets="All" />
  • The Cake.Common reference should be private. Specifically, your addin's .csproj should have a line similar to this: <PackageReference Include="Cake.Common" Version="0.28.0" PrivateAssets="All" />
  • The nuget package for your addin should use the cake-contrib icon. Specifically, your addin's .csproj should have a line like this: <PackageIconUrl>https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png</PackageIconUrl>.

Apologies if this is already being worked on, or if there are existing open issues, this issue was created based on what is currently published for this package on NuGet.org and in the project on github.

Would it be possible to use the Cake Contrib Icon for your NuGet Package?

Thanks again for creating this Cake Addin, we really appreciate the effort that you have put in to creating it.

We, the Cake Team, recently announced a new Cake Contrib Icon, details of which can be found here:

http://cakebuild.net/blog/2017/06/new-cake-contrib-icon

Would you consider changing the nuspec file for your NuGet Package to use this new Cake Contrib Icon? If so, the recommended URL to use is:

https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png

Details of the above URL can be found in the repository here:

https://github.com/cake-contrib/graphics

Please let me know if you have any questions.

Using Cake.SemVer w/ Cake 1.1.0 produces warning

The assembly 'Cake.SemVer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' is referencing an older version of Cake.Core (0.33.0). For best compatibility it should target Cake.Core version 1.0.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.