No description
Find a file
2025-05-19 23:23:55 +02:00
internal new: use -trimpath for build 2025-05-19 23:23:55 +02:00
.gogogo.conf new: trusted30x -> restricted30x 2025-05-17 21:16:17 +02:00
.golangci.yml chg: massive rework, reliable removal of old tags and releases 2024-10-05 11:28:56 +02:00
go.mod go: update dependencies 2025-05-17 00:12:20 +02:00
go.sum go: update dependencies 2025-05-17 00:12:20 +02:00
LICENSE.txt new: first PoC 2024-10-02 00:04:36 +02:00
main.go new: trusted30x -> restricted30x 2025-05-17 21:16:17 +02:00
README.md chg: subcommand "config" instead of init 2024-10-09 20:47:16 +02:00

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

  1. Create a config file next to the module description of your project. (Mostly ever this will be your go.mod file).

    gogogo config -default > .gogogo.conf
    
  2. Edit the config.

Release

  • For an official release, built from the latest tagged commit on the default branch:

    1. Create a signed tag on your default branch.
    2. Push that tag.
    3. gogogo release
  • For a prerelease built from the latest commit on any branch:

    1. gogogo release -commit <branchname>