From 0862810bca720d0d8fe4300569e2cce5ff6d37d4 Mon Sep 17 00:00:00 2001 From: kali Date: Mon, 7 Aug 2017 14:16:57 -0700 Subject: [bug] report version correctly in bundles - Resolves: #8992 --- pkg/bundles/build.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/bundles') diff --git a/pkg/bundles/build.mk b/pkg/bundles/build.mk index 158293b1..0db7f3a1 100644 --- a/pkg/bundles/build.mk +++ b/pkg/bundles/build.mk @@ -20,6 +20,7 @@ bundle: bundle_clean cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/common/cacert.pem $(DIST)/ cp -r $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/bitmask_js $(DIST)/leap/ cp -r $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/pixelated_www $(DIST)/leap/ + echo `git describe` > $(DIST)/version mv $(DIST) _bundlelib && mkdir $(DIST_VERSION) && mv _bundlelib $(DIST_VERSION)/lib/ cd pkg/launcher && make cp pkg/launcher/bitmask $(DIST_VERSION) @@ -55,6 +56,7 @@ bundle_osx_helpers: bundle_osx_missing: cp $(DIST_VERSION)/lib/_scrypt.so $(OSX_CON)/ cp $(DIST_VERSION)/lib/bitmaskd.tac $(OSX_CON)/ + cp $(DIST_VERSION)/lib/version $(OSX_CON)/ cp -r $(DIST_VERSION)/lib/leap $(OSX_CON)/ mv dist/Bitmask.app/Contents/MacOS/bitmask $(OSX_CON)/bitmask-app cp pkg/osx/bitmask-wrapper $(OSX_CON)/bitmask -- cgit v1.2.3