10 lines
220 B
Bash
Executable File
10 lines
220 B
Bash
Executable File
#!/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
|