Build with optional publish.
This commit is contained in:
parent
89d34a1a71
commit
12dc206323
9
build.sh
9
build.sh
@ -5,6 +5,11 @@ TODAYS_VERSION="1"
|
|||||||
|
|
||||||
VERSION="${BASE_VERSION//./}$(date '+%y%m%j')$TODAYS_VERSION"
|
VERSION="${BASE_VERSION//./}$(date '+%y%m%j')$TODAYS_VERSION"
|
||||||
|
|
||||||
./version.sh ${VERSION} $@
|
./version.sh ${VERSION} $1
|
||||||
|
|
||||||
./publish-version.sh ${VERSION}
|
if [[ "$@" == *'--publish'* ]]
|
||||||
|
then
|
||||||
|
./publish-version.sh ${VERSION}
|
||||||
|
else
|
||||||
|
echo "Did not publish. If you wanted to do so, call the script with \"--publish\"."
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user