chore: version v2.0.5
Former-commit-id: e1da801b5a2ec24fedbcd0acf730c635b5c4d09e [formerly c3db76c64b0bbdc7d854db3315ed8d1031eb14ac] [formerly e524dabea7aafe4dd0216783021c2e3822ce091a [formerly 815ee40110
]]
Former-commit-id: 10ed3ee9044af8cc2c6a7885fb5124b695f8d121 [formerly d599cd5328e8e1b9614b9f59d2a6331d9480a82f]
Former-commit-id: 2bf752c693c8dbffa6a94c5acefdf0fcb192bd02
pull/726/head
parent
4257a775c8
commit
6699993088
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
@ -230,7 +230,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"
|
||||||
|
@ -242,7 +242,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
|
||||||
|
|
Loading…
Reference in New Issue