Skip to content
Snippets Groups Projects
Verified Commit f3c01c3b authored by Kali Kaneko's avatar Kali Kaneko Committed by micah
Browse files

[deb] pass version

parent 36ac9f2f
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@ export DH_OPTIONS
export DH_GOPKG = 0xacab.org/leap/bitmask-vpn
export DH_GOLANG_EXCLUDES = vendor
VERSION = debian-$(shell git describe --tags --always)
%:
dh $@ --with golang --buildsystem golang
......@@ -16,7 +18,7 @@ override_dh_auto_build:
rm -rf src/0xacab.org/leap/bitmask-vpn/tools/transifex
rm -rf obj-$(DEB_BUILD_GNU_TYPE)/src/0xacab.org/leap/bitmask-vpn/tools/transifex
rm -rf tools
dh_auto_build
dh_auto_build -O--buildsystem=golang -- -ldflags "-X main.version=$(VERSION)"
override_dh_install:
mkdir -p $(CURDIR)/debian/riseup-vpn/usr/sbin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment