No description
| internal | ||
| .gogogo.conf | ||
| .golangci.yml | ||
| go.mod | ||
| go.sum | ||
| LICENSE.txt | ||
| main.go | ||
| README.md | ||
GOGOGO
Release builder.
Key concept
Publish what can be built by others.
- Build from the sources published on your VCS hosting site.
- Switch off Go workspace mode to have builds that are reproducable by others.
- Build for as many OS/ARCH targets as you want.
- Upload the built artifacts as a release to your VCS hosting site.
Prepare
-
Create a config file next to the module description of your project. (Mostly ever this will be your
go.modfile).gogogo config -default > .gogogo.conf -
Edit the config.
Release
-
For an official release, built from the latest tagged commit on the default branch:
- Create a signed tag on your default branch.
- Push that tag.
gogogo release
-
For a prerelease built from the latest commit on any branch:
gogogo release -commit <branchname>