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

2
.gitignore vendored
View File

@ -217,5 +217,3 @@ gradle-app.setting
release/ release/
crowdin.properties crowdin.properties
publish-version.sh

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