Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
debian: add missing env variables to debian build
Merged did:key:z6MkkfM3...sVz5 opened 10 months ago

During the build of heartwood there are a few environment variables in particular GIT_HEAD and RADICLE_VERSION that are added during build to be part of the final binary.

This wasn’t the case so far with the debian packages, this patch exports the needed vars for override_dh_auto_build so commands like rad --version display the values.

1 file changed +2 -0 deb823f3 570bfc3b
modified debian/rules
@@ -1,6 +1,8 @@
#!/usr/bin/make -f

DEB_BUILD_OPTIONS=nostrip
+
export RADICLE_VERSION=$(shell build/version)
+
export GIT_HEAD=$(shell git rev-parse HEAD)

%:
	dh $@