From e5b8684e7f4084e03ec828ff14a1683c05fc20a9 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 11 May 2019 11:41:29 +0100 Subject: [PATCH] chore: version v2.0.5 Former-commit-id: 356cfa9fe1e90a7cb037b9e1ceecea45aaf44908 [formerly b13ea2a48ba77b026b8129a3614a606037e1e0d1] [formerly 826ed64b6cc019c905211388cf1ef4a4bf9f3e3d [formerly e00c8b606ffdb3811ff97a95ac0bae4ff0be6241]] Former-commit-id: 293a7c66cbd0b7777dccbf4b7480fee2d1a9891d [formerly 760a541b948062a69b0d12db2272cdb7bc0da01a] Former-commit-id: eb09feea73c0b926f93f08c774b2c4bf0829845d --- 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 e9ae924e..940ad92e 100644 --- a/version/version.go +++ b/version/version.go @@ -2,5 +2,5 @@ package version const ( // Version is the current File Browser version. - Version = "(untracked)" + Version = "v2.0.5" ) diff --git a/wizard.sh b/wizard.sh index d4cb0dad..9e12ff46 100755 --- a/wizard.sh +++ b/wizard.sh @@ -224,7 +224,7 @@ release () { exit 1 fi - semver=$(echo "$1" | grep -P '^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)') + semver=$(echo "$1" | ggrep -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" @@ -236,7 +236,7 @@ release () { cd frontend git fetch --all - if [ $(git tag | grep "$semver" | wc -l) -eq 0 ]; then + if [ $(git tag | ggrep "$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