diff --git a/build.sh b/build.sh index 90eb61f..f8967d4 100755 --- a/build.sh +++ b/build.sh @@ -7,4 +7,4 @@ VERSION="${BASE_VERSION}.$(date '+%y%m%j')$TODAYS_VERSION" ./version.sh ${VERSION} $@ -./publish-version.sh ${VERSION} $@ +./publish-version.sh ${VERSION} diff --git a/version.sh b/version.sh index 1561caf..caa9908 100755 --- a/version.sh +++ b/version.sh @@ -1,10 +1,10 @@ #!/bin/bash # You can pass --force as first parameter to force push and tag creation. -echo "Creating tag $1" +echo "Creating tag $@" -git tag $1 $@ +git tag $@ echo "Pushing tag" -git push origin $1 $@ +git push origin $@