No more local publish.
This commit is contained in:
parent
82a8977c96
commit
1028826788
5
build.sh
5
build.sh
@ -22,10 +22,7 @@ PARAMS_EXCEPT_PUBLISH=$(echo $PARAMS_EXCEPT_PUBLISH_LOCAL | sed 's/\-\-publish//
|
||||
|
||||
./version.sh ${VERSION} ${PARAMS_EXCEPT_PUBLISH}
|
||||
|
||||
if [[ "$@" == *'--publish-local'* ]]
|
||||
then
|
||||
./publish-version-local.sh ${VERSION}
|
||||
elif [[ "$@" == *'--publish'* ]]
|
||||
if [[ "$@" == *'--publish'* ]]
|
||||
then
|
||||
./publish-version.sh ${VERSION}
|
||||
else
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user