Skip to content

Commit

Permalink
chore: setting untracked version [ci skip]
Browse files Browse the repository at this point in the history
Former-commit-id: 25a3a8573d7aa98ddb44e93e1592bcf75a9bdd8c [formerly 0ac5fd3c659c0f6b13a191111b2ef5aaa1ea0b32] [formerly 478e9344bbc49b40662e60477b735fd667247833 [formerly f1b7e26]]
Former-commit-id: 8161191fd46defb50b75245da3778cbed961ec1e [formerly 721665ab8f48faa582bbe93daa892f09ea47ddd7]
Former-commit-id: 7a9238d3e212fed0076aa8b9c4081cc2fcfa111a
  • Loading branch information
hacdias committed May 11, 2019
1 parent 6699993 commit 51f34ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package version

const (
// Version is the current File Browser version.
Version = "v2.0.5"
Version = "(untracked)"
)
4 changes: 2 additions & 2 deletions wizard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,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"
Expand All @@ -242,7 +242,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
Expand Down

0 comments on commit 51f34ea

Please sign in to comment.