Version scripts.

This commit is contained in:
aminecmi
2022-09-07 20:24:19 +02:00
parent 815f00e764
commit 1dfa3c9f07
3 changed files with 1 additions and 1 deletions

11
publish-version.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
# NOTE: This is copy/pasted in jenkins
rm -f version.txt
printf "versionName=$1-github\nversionCode=$1" >> version.txt
# You'll need to change server as your server and define a VERSION_PATH.
scp version.txt server:$VERSION_PATH
rm version.txt