2018-10-13 20:13:56 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-11-13 21:02:44 +00:00
|
|
|
# NOTE: This is copy/pasted in jenkins
|
|
|
|
|
2018-10-13 20:13:56 +00:00
|
|
|
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
|