Files
epusdt/RELEASING.md
T

1.6 KiB

Releasing

This repository publishes versioned binaries to GitHub Releases when a tag is pushed.

What gets published

For each tag like v1.2.3, GitHub Actions builds release archives for:

  • linux/amd64
  • linux/arm64
  • darwin/amd64
  • darwin/arm64
  • windows/amd64
  • windows/arm64

Each archive includes:

  • the epusdt binary
  • src/.env.example
  • src/static/

Windows artifacts are published as .zip. Other platforms are published as .tar.gz.

Each release also publishes:

  • a SHA256SUMS checksum file
  • a GitHub build provenance attestation for the checksum file

How to cut a release

  1. Make sure the release commit has already landed on the default branch.
  2. Create an annotated tag:
git tag -a v1.0.0 -m "release v1.0.0"
  1. Push the tag:
git push origin v1.0.0
  1. Wait for the release workflow to finish on GitHub.
  2. Download the generated binaries from the GitHub Release page.

Verify a release

Verify the GitHub build provenance attestation:

gh attestation verify SHA256SUMS -R GMwalletApp/epusdt

Local validation

Run a snapshot build locally before pushing a tag:

cd src
go run github.com/goreleaser/goreleaser/v2@latest release --snapshot --clean

The resulting artifacts will be generated under src/dist/.

Release candidates

If you use tags like v1.2.3-rc1, GoReleaser will mark the GitHub release as a prerelease.

If you want the final v1.2.3 release notes to compare cleanly against the previous stable release, avoid keeping old rc tags around longer than needed.