ReaderForSelfoss-multiplatform/publish-version.sh
aminecmi 1dfa3c9f07
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Version scripts.
2022-09-07 20:24:19 +02:00

12 lines
260 B
Bash
Executable File

#!/bin/bash
# NOTE: This is copy/pasted in jenkins
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