Categorygithub.com/haleyrc/hash
repositorypackage
0.0.1
Repository: https://github.com/haleyrc/hash.git
Documentation: pkg.go.dev

# README

hash

Some simple utilities for working with hashes.


Cutting a release

Releases for this package are managed by the goreleaser1 utility which manages creating a GitHub release with a changelog, etc. To create a new release, first make sure your local repo is in the desired state, and then tag the current commit with the next meaningful tag e.g.:

git tag -a v0.0.1 -m "v0.0.1"

Next, ensure all your commits and tags are pushed to GitHub:

git push --follow-tags

If you skip the previous step, the release notes will not function correctly and you will run into issues with duplicate tags the next time you try to push.

Finally, you can spin up goreleaser with:

make release

N.B.: If you see an error about a missing GitHub token, you will need to create a .env file containing a token e.g.:

set -a
GITHUB_TOKEN=<YOUR-TOKEN-HERE>

Footnotes

  1. https://goreleaser.com/