Skip to content

Add publish script #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 16, 2021
Merged

Add publish script #28

merged 4 commits into from
Dec 16, 2021

Conversation

ronaldbarendse
Copy link
Collaborator

This PR adds a publish script that is triggered when pushing a tag that starts with release- and does the following:

  • Creates a build for that specific tag (re-using the existing build script)
  • Downloads the artifacts (Umbraco & NuGet packages)
  • Pushes these packages to Our Umbraco and NuGet.org

I've also added SourceLink and ensured the build is deterministic (produces byte-for-byte equivalent binaries). To make sure all versions get an unique (and automatic) version number, Nerdbank.GitVersioning is used. This also allows an easy way to prepare new releases using nbgv prepare-release, which creates a new release branch that only needs to be tagged to publish it.

@ronaldbarendse ronaldbarendse merged commit 186c6dd into master Dec 16, 2021
@ronaldbarendse ronaldbarendse deleted the release/2.0.0 branch December 16, 2021 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant