diff options
| -rw-r--r-- | docs/src/SUMMARY.md | 1 | ||||
| -rw-r--r-- | docs/src/gettingstarted/building/release.md | 15 |
2 files changed, 16 insertions, 0 deletions
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 <https://github.com/eduvpn/eduvpn-common/releases>. + +These are signed with minisign and gpg keys, make sure to verify these signatures using the public keys available here: <https://github.com/eduvpn/eduvpn-common/tree/main/keys>, they are also available externally: +- <https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc> +- <https://git.sr.ht/~jwijenbergh/python3-eduvpn-common.rpm/tree/main/item/SOURCES/minisign-CA9409316AC93C07.pub> + +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. |
