Publish version.

This commit is contained in:
Amine 2018-10-13 22:13:56 +02:00
parent 5569a47674
commit 598149d4cd
2 changed files with 10 additions and 3 deletions

4
.gitignore vendored
View File

@ -216,6 +216,4 @@ gradle-app.setting
release/
crowdin.properties
publish-version.sh
crowdin.properties

9
publish-version.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
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