Unverified Commit e7094767 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[bug] fix BSD sed syntax

parent 21bc3df3
freeze-ver:
cp pkg/version-template src/leap/bitmask/_version.py
sed -i 's/^version_version\(.*\)/version_version = "$(NEXT_VERSION)"/' src/leap/bitmask/_version.py
sed -i "s/^full_revisionid\(.*\)/full_revisionid='$(GIT_COMMIT)'/" src/leap/bitmask/_version.py
freeze-ver-osx:
cp pkg/version-template src/leap/bitmask/_version.py
sed -i ' ' 's/^version_version\(.*\)/version_version = "$(NEXT_VERSION)"/' src/leap/bitmask/_version.py
sed -i ' ' "s/^full_revisionid\(.*\)/full_revisionid='$(GIT_COMMIT)'/" src/leap/bitmask/_version.py
......@@ -9,6 +14,9 @@ hash-binaries:
pyinst: freeze-ver hash-binaries
pyinstaller -y pkg/pyinst/bitmask.spec
pyinst_osx: freeze-ver-osx hash-binaries
pyinstaller -y pkg/pyinst/bitmask.spec
reset-ver:
git checkout -- src/leap/bitmask/_version.py
......@@ -85,7 +93,7 @@ pyinst-upload:
pyinst-linux: pyinst reset-ver pyinst-hacks-linux pyinst-trim pyinst-cleanup pyinst-distribution-data pyinst-helpers-linux pyinst-tar
pyinst-osx: pyinst reset-ver pyinst-hacks-osx pyinst-helpers-osx
pyinst-osx: pyinst_osx reset-ver pyinst-hacks-osx pyinst-helpers-osx
clean_pkg:
rm -rf build dist
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment