From 91e5d3736f43ec5616f58c4cd624dee5e9836d86 Mon Sep 17 00:00:00 2001 From: Amine Bou Date: Fri, 25 May 2018 22:47:36 +0200 Subject: [PATCH] Cleaning build script. --- build.sh | 2 +- version.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 $@