title | tags | ||
---|---|---|---|
Release |
|
- Create Github Token and store this in Azure Pipeline Vault.
Look for a
GORELEASER
variable group and replace theGITHUB_TOKEN
value, no expiration date set. - Certs (secure files).
- DSV Tenants and other details are noted in the azure pipeline files.
This project uses an different approach to release, driving it from changelog and versioned changelog notes instead of tagging.
Use changie quick start for basic review.
- During development, new changes of note get tracked via
changie new
. This can span many pull requests, whatever makes sense as version to ship as changes to users. - To release the changes into a version,
changie batch <major|minor|patch>
(unless breaking changes occur, you'll want to stick with minor for feature additions, and patch for fixes or non app work.
Keep your summary of changes that users would care about in the .changes/
files it will create.
Update CHANGELOG.md by running changie merge
which will rebuild the changelog file with all the documented notes.
Changie notes are named like v1.0.4.md
.
This version number will be used to set the version of the release, so the docs in essence will be the version source of truth.
- Run
snapcraft login
. - After login:
snapcraft export-login snapcraft-login
to create a filesnapcraft-login
for the login to use for CI purposes. Upload this as a secure file in Azure DevOps Secure file vault, or if using a shared team DSV Vault, place it in there (that's pending implementation as of 2023-01).
- Referencing the version number diretly (not assets), is done via
1.0.0
with no prefix.- For example the latest version number in
cli-versions.json
would not have the prefix. - Scoop is the same with version not having a prefix.
- For example the latest version number in
- Tags (per Go standard) include
v
prefix. This is created by goreleaser github process automatically. - Assets:
- GitHub assets include
v
prefix likev1.0.0
. - Scoop & Brew use version number without prefix in version field, but the download assets uploaded to github do have prefix in the file name.
- GitHub assets include
- S3 asset folder prefers no
v
prefix.