chore: version v2.0.5

pull/724/head
Henrique Dias 2019-05-11 11:41:29 +01:00
parent f9d175d7c4
commit e00c8b606f
2 changed files with 3 additions and 3 deletions

View File

@ -2,5 +2,5 @@ package version
const ( const (
// Version is the current File Browser version. // Version is the current File Browser version.
Version = "(untracked)" Version = "v2.0.5"
) )

View File

@ -224,7 +224,7 @@ release () {
exit 1 exit 1
fi 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 if [ $? -ne 0 ]; then
echo "Not valid semver format. See semver.org" echo "Not valid semver format. See semver.org"
@ -236,7 +236,7 @@ release () {
cd frontend cd frontend
git fetch --all 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." echo "Tag $semver does not exist in submodule 'frontend'. Tag it and run this script again."
exit 1 exit 1
fi fi