refactor(mk): move build rules into separate scripts (#855)
See https://github.com/ooni/probe/issues/2218
This commit is contained in:
parent
4e99e5030a
commit
5c0368c862
19 changed files with 539 additions and 273 deletions
6
MOBILE/ios/createpodspec
Executable file
6
MOBILE/ios/createpodspec
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
__version=$(date -u +%Y.%m.%d-%H%M%S)
|
||||
__release=$(git describe --tags || echo '0.0.0-dev')
|
||||
cat ./MOBILE/ios/template.podspec | sed -e "s/@VERSION@/$__version/g" \
|
||||
-e "s/@RELEASE@/$__release/g" >./MOBILE/ios/oonimkall.podspec
|
||||
Loading…
Reference in a new issue