diff --git a/.dev/deploy/app.sh b/.dev/deploy/app.sh index 87d2f4142..c7fc0728b 100755 --- a/.dev/deploy/app.sh +++ b/.dev/deploy/app.sh @@ -19,7 +19,7 @@ yecho () { # force script to error out at first error set -e -CURRENT_TAG=$(git describe --exact-match --abbrev=0 --tags) | tr '[:upper:]' '[:lower:]' +CURRENT_TAG=$(git describe --exact-match --abbrev=0 --tags) PREVIOUS_TAG=$(git describe HEAD^1 --abbrev=0 --tags) GIT_HISTORY=$(git log --no-merges --format="- %s" "$PREVIOUS_TAG"..HEAD) diff --git a/.dev/prepare/app.sh b/.dev/prepare/app.sh index 6f1c7bb08..ac7a93e73 100755 --- a/.dev/prepare/app.sh +++ b/.dev/prepare/app.sh @@ -14,7 +14,7 @@ if [ -z "$TRAVIS_TAG" ]; then exit 0 fi -CURRENT_TAG=$(git describe --exact-match --abbrev=0 --tags) | tr '[:upper:]' '[:lower:]' +CURRENT_TAG=$(git describe --exact-match --abbrev=0 --tags) APP=$(echo "$CURRENT_TAG" | cut -d'/' -f1) DEST=$(echo "$CURRENT_TAG" | cut -d'/' -f2) CHANNEL=$(echo "$CURRENT_TAG" | cut -d'/' -f3)