From dc1a63c352348f8ea7c31ef869c8fd827f0c2885 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 11 May 2019 11:21:13 +0100 Subject: [PATCH] chore: setting untracked version [ci skip] --- version/version.go | 2 +- wizard.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/version/version.go b/version/version.go index 940ad92e..e9ae924e 100644 --- a/version/version.go +++ b/version/version.go @@ -2,5 +2,5 @@ package version const ( // Version is the current File Browser version. - Version = "v2.0.5" + Version = "(untracked)" ) diff --git a/wizard.sh b/wizard.sh index 38b5a528..55c8c19f 100755 --- a/wizard.sh +++ b/wizard.sh @@ -225,7 +225,7 @@ release () { exit 1 fi - semver=$(echo "$1" | ggrep -P '^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)') + semver=$(echo "$1" | grep -P '^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)') if [ $? -ne 0 ]; then echo "Not valid semver format. See semver.org" @@ -237,7 +237,7 @@ release () { cd frontend git fetch --all - if [ $(git tag | ggrep "$semver" | wc -l) -eq 0 ]; then + if [ $(git tag | grep "$semver" | wc -l) -eq 0 ]; then echo "Tag $semver does not exist in submodule 'frontend'. Tag it and run this script again." exit 1 fi