Build with optional publish.
This commit is contained in:
parent
89d34a1a71
commit
12dc206323
7
build.sh
7
build.sh
@ -5,6 +5,11 @@ TODAYS_VERSION="1"
|
||||
|
||||
VERSION="${BASE_VERSION//./}$(date '+%y%m%j')$TODAYS_VERSION"
|
||||
|
||||
./version.sh ${VERSION} $@
|
||||
./version.sh ${VERSION} $1
|
||||
|
||||
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