Skip to content

Firefly III: a personal finances manager

Fix branch checkout logic in release workflow

James Cole4229196713d8
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index aae15d3bcc..6efe631633 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -46,7 +46,7 @@ jobs:
#
BRANCH_TO_PULL=origin/develop
if [[ "$version" == branch* ]]; then
- BRANCH_TO_PULL=origin/$version
+ BRANCH_TO_PULL=origin/${version:7}
fi
echo "Version is '$version', check out '$BRANCH_TO_PULL'-branch"