Wrong conditional...
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
5ca1dbf35f
commit
42f1fa3380
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue