- Install go
- Install dependencies with
go get -u github.com/dideler/watcher
- Run tests with
go test
- Build a dev executable with
cd cmd/watcher/ && go build .
Since this is a fork, it can benefit from certain upstream changes.
If there's a commit or merge request that's relevant, append ".patch" to the URL
and apply it to the fork as curl -sL $PATCH_URL | git am
- Install goreleaser
- Create a GitHub Personal Access Token with repo scope and export
GITHUB_TOKEN
- Update watcher's semantic version and push a new git tag
- Test the release from the project's root directory:
goreleaser --snapshot --skip-publish --rm-dist
- If the dry run was succesful, publish the release:
goreleaser --rm-dist