diff options
author | Ruben Pollan <meskio@sindominio.net> | 2019-01-03 17:54:41 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2019-01-03 17:54:41 +0100 |
commit | 12a7bf00b8e269a3e42ee3da6b70bec68c5231b5 (patch) | |
tree | 3a63006937513efe6950f813af3d178188b0060b | |
parent | ad4f71fffa3de2f8ee262ef76f0e926068459d1d (diff) |
[pkg] Build a release tgz
- Related: bitmask-systray#94
-rwxr-xr-x | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -7,6 +7,17 @@ BUILD_RELEASE?=no OSX_CERT = "Developer ID Installer: LEAP Encryption Access Project" VERSION = $(shell git -C `go env GOPATH`/src/$(SYSTRAY) describe --tags --always) +TGZ_PATH = $(shell pwd)/dist/riseup-vpn-$(VERSION) +tgz: + mkdir -p $(TGZ_PATH) + git -C `go env GOPATH`/src/$(SYSTRAY) archive HEAD | tar -x -C $(TGZ_PATH) + mkdir $(TGZ_PATH)/helpers + wget -O $(TGZ_PATH)/helpers/bitmask-root https://0xacab.org/leap/bitmask-dev/raw/master/src/leap/bitmask/vpn/helpers/linux/bitmask-root + chmod +x $(TGZ_PATH)/helpers/bitmask-root + wget -O $(TGZ_PATH)/helpers/se.leap.bitmask.policy https://0xacab.org/leap/bitmask-dev/raw/master/src/leap/bitmask/vpn/helpers/linux/se.leap.bitmask.policy + cd dist; tar cvzf riseup-vpn-$(VERSION).tgz riseup-vpn-$(VERSION) + rm -r $(TGZ_PATH) + # ----------------------------------------------------------------------------- # Windows # ----------------------------------------------------------------------------- |