ReaderforSelfoss/publish-version-local.sh

10 lines
212 B
Bash
Raw Normal View History

2018-11-13 19:24:06 +00:00
#!/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.
cp version.txt $VERSION_PATH
rm version.txt