-
Notifications
You must be signed in to change notification settings - Fork 1
Creating releases
- Ensure the
CHANGELOG.md
has all updates since the previous release. Follow the recommendations from https://keepachangelog.com/ - Ensure the version in
getignore.go
has been updated to reflect the version to be released.
Tag the appropriate commit with
git tag -a -m "Release <major>.<minor>.<patch>" v<major>.<minor>.<patch>
and push with
git push --follow-tags
Run
make dist
This will cross-compile multiple versions of the getignore
executable for different OS and architecture combinations using gox. View the Makefile
to see what OS-architecture combinations will be produced.
It will also prepare archival versions of these artifacts (e.g., .tar.gz
and .zip
) with accommodating files. These are the distribution artifacts you need to upload to the GitHub Release.
You will find the artifacts in the dist/
subdirectory.
Make a new GitHub Release. Name the release after the version, "..".
Add highlights of what has changed in the new release since the last; you can borrow from the Changelog.
Upload the appropriate distribution artifacts created in the step above.
Update the package repositories to point to the latest version and appropriate artifacts: