chore: version v2.0.5
Former-commit-id: a9912c8643b629ab562354183bf629cb5f05a5b3 [formerly 7e6fa099800828b87dfeefa47469308c9f86d8c6] [formerly 19b9738b04e9e899306c1155e9ea2960f7e99889 [formerly e4d72d76bd
]]
Former-commit-id: 6056c50e78d29656f185bbac2a766b1df934ae5b [formerly 40e1cca78150c8d76441b7ada67784b46c4b0a3a]
Former-commit-id: c5965154be95686aac6c6b0258892685f7abb26b
pull/726/head
parent
f5b3ab8db6
commit
579f3ccd7d
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
@ -225,7 +225,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"
|
||||||
|
@ -237,7 +237,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