-
Make your changes and ensure tests pass:
make test -
Build locally to verify:
make build ./gitgogit sync --config config.yaml
Releases use make release, which builds all platform binaries and publishes a GitHub release via the gh CLI. The target enforces several preconditions — follow these steps in order:
-
Commit your changes and push to
main:git add <files> git commit -m "your message" git push
-
Create and push a version tag (follows
vMAJOR.MINOR.PATCH):git tag v1.0.2 git push origin v1.0.2
-
Run the release:
make release
The release target will fail if:
- There are uncommitted changes
- HEAD is not exactly on the tag
- The tag hasn't been pushed to the remote
- You are not on the
mainbranch