The easiest way (imo) is to run gowatch
in a separate terminal and the simply run ./autorestic ...
. gowatch
will watch the code and automatically rebuild the binary when changes are saved to disk.
go run build/build.go
This will build and compress binaries for multiple platforms. The output will be put in the dist
folder.
Releases are automatically built by the github workflow and uploaded to the release.
- Bump
VERSION
ininternal/config.go
. - Update
CHANGELOG.md
- Commit to master
- Create a new release with the
v1.2.3
tag and mark as pre-release. - The Github action will build the binaries, upload and mark the release as ready when done.
- Download the latest release.
- Check the checksum with
shasum -a 256 autorestic-1.2.3.tar.gz
- Update
url
andsha256
in the brew repo. - Submit PR