From 61871cb9ea7605e5350e9612edf8c9d603da2883 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 15 Mar 2023 11:11:51 +0100 Subject: Docs: Add release building info --- docs/src/SUMMARY.md | 1 + docs/src/gettingstarted/building/release.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 docs/src/gettingstarted/building/release.md (limited to 'docs/src') diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index 6ec2259..09ba35d 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -7,6 +7,7 @@ - [Python wrapper](./gettingstarted/building/python.md) - [Example from scratch](./gettingstarted/building/example.md) - [Package Formats](./gettingstarted/building/packageformats.md) + - [Building for release](./gettingstarted/building/release.md) - [Testing](./gettingstarted/testing.md) - [Debugging](./gettingstarted/debugging/README.md) - [Logging](./gettingstarted/debugging/logging.md) diff --git a/docs/src/gettingstarted/building/release.md b/docs/src/gettingstarted/building/release.md new file mode 100644 index 0000000..a0893ea --- /dev/null +++ b/docs/src/gettingstarted/building/release.md @@ -0,0 +1,15 @@ +# Building for release + +To build for release, make sure you obtain the tarball artifacts in the release (ending with `.tar.xz`) at . + +These are signed with minisign and gpg keys, make sure to verify these signatures using the public keys available here: , they are also available externally: +- +- + +To build for release, make sure to extract the tarball, and then add `-tags=release` to the `GOFLAGS` environment variable: + +```bash +GOFLAGS="-tags=release" make +``` + +Proceed the build like normally. -- cgit v1.2.3