From 084508bd51559c9909881682fd49fa4bb5e0e004 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Fri, 20 Feb 2026 12:37:15 +0100 Subject: Docs building: Update --- docs/md/building.md | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'docs') diff --git a/docs/md/building.md b/docs/md/building.md index 1932042..8fd8627 100644 --- a/docs/md/building.md +++ b/docs/md/building.md @@ -31,13 +31,6 @@ To clean build the library and wrapper, issue the following command in the root make clean ``` -### Note on releases -Releases are build with the go tag "release" (add flag "-tags=release") to bundle the discovery JSON files and embed them in the shared library. See the [make_release](https://codeberg.org/eduVPN/eduvpn-common/src/branch/main/make_release.sh) script on how we bundle the files. A full command without the Makefile to build this library is: - -```bash -go build -o lib/libeduvpn_common-${VERSION}.so -tags=release -buildmode=c-shared ./exports -``` - ## Python wrapper To build the python wrapper issue the following command (in the root directory of the eduvpn-common project): @@ -62,31 +55,22 @@ These are signed with minisign and gpg keys, make sure to verify these signature - - -To build for release, make sure to extract the tarball, and then add `-tags=release` to the `GOFLAGS` environment variable: +To build for release, make sure to extract the tarball, and then build: ```bash -GOFLAGS="-tags=release" make +make ``` To upload the releases to Codeberg, run: ```bash ./make_release.sh -./upload_release.sh ``` For pre-releases: ```bash ./make_release.sh -p -./upload_release.sh -p ``` ### Package formats -We support the following additional package formats: RPM (Linux, Fedora) and Deb (Linux, Debian derivatives) - -#### Linux: RPM -The RPM files can be found on a [SourceHut Repo](https://git.sr.ht/~jwijenbergh/python3-eduvpn-common.rpm).These are then build with [builder.rpm](https://codeberg.org/eduVPN/builder.rpm). - -#### Linux: Deb -The RPM files can be found on a [SourceHut Repo](https://git.sr.ht/~jwijenbergh/python3-eduvpn-common.deb). These are then build with [nbuilder.deb](https://codeberg.org/eduVPN/nbuilder.deb). -Proceed the build like normally. +We support the following additional package formats: RPM (Linux, Fedora), Deb (Linux, Debian derivatives) and Pip. These are build in the CI and for production build on a separate non-public host. -- cgit v1.2.3