Wrong conditional...

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2021-04-19 23:20:58 +01:00
parent 5ca1dbf35f
commit 42f1fa3380
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ fetch_release_metadata() {
git remote set-branches origin '*'
git fetch --depth 10
#if version number begins with a v, it's a version number
if [[ $version == "v*" ]]; then
if [[ $version == v* ]]; then
git checkout master
git reset --hard "$version"
else # else treat it as a branch