No more local publish.

This commit is contained in:
Amine 2018-11-13 21:45:10 +01:00
parent 82a8977c96
commit 1028826788
2 changed files with 1 additions and 13 deletions

View File

@ -22,10 +22,7 @@ PARAMS_EXCEPT_PUBLISH=$(echo $PARAMS_EXCEPT_PUBLISH_LOCAL | sed 's/\-\-publish//
./version.sh ${VERSION} ${PARAMS_EXCEPT_PUBLISH} ./version.sh ${VERSION} ${PARAMS_EXCEPT_PUBLISH}
if [[ "$@" == *'--publish-local'* ]] if [[ "$@" == *'--publish'* ]]
then
./publish-version-local.sh ${VERSION}
elif [[ "$@" == *'--publish'* ]]
then then
./publish-version.sh ${VERSION} ./publish-version.sh ${VERSION}
else else

View File

@ -1,9 +0,0 @@
#!/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