CI,build.fsx: publish prerelease nuget versions for every commit#629
Merged
Conversation
This way the 'publish' workflow is tested in every build, to make sure it doesn't break (before this, we would only notice of any breakages at the moment we create the tag). To prevent a release and a nuget upload to happen at every commit, we just append an 'if' (see [1] for the syntax) element to these steps. [1] https://github.bokerqi.topmunity/t/if-not-startswith-mutually-exclusive-steps/141841/2
c46ea19 to
c6c5393
Compare
For this, the "alpha01" prerelease name is replaced by a dynamic one that contains the date and the git hash. We've had to move the Helpers before the Variables in order to use them in this new part of the script. As a side-node, these are nice FAKE docs about process handling here: https://fake.build/reference/fake-core-process.html
Rather depend on new nuget package to get the prerelease version.
016e8b8 to
752c1de
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For this, the "alpha01" prerelease name is replaced by a dynamic one that contains the date and the git hash.
Supersedes #544