Only master
branch is used for releases.
-
Create branch to update release number in
package.yaml
and integration guide and merge it when it pass CI. -
Write a draft of release where tag version and release title are the same as a version of
hadolint
, egv1.2.3
. -
Create an annotated tag with tag name as a message and push it back to
hadolint/hadolint
remote. Release notes should be in the draft not in a tag message.export TAG=v1.2.3 && git pull && git tag -a "$TAG" -m "$TAG" && git push origin master --tags && stack upload .
-
Tag creation will trigger build in Travis and AppVeyor which will upload binaries to GitHub release draft with the same name as is the name of the tag (created in step 1).
-
Edit release notes, mention all new features and important fixes and publish it.