diff --git a/.github/workflows/update-zarf-injector.yaml b/.github/workflows/update-zarf-injector.yaml index b6917cd..3066176 100644 --- a/.github/workflows/update-zarf-injector.yaml +++ b/.github/workflows/update-zarf-injector.yaml @@ -40,10 +40,10 @@ jobs: git fetch --all --tags - if git rev-parse "v${{ env.zarf_version }}" >/dev/null 2>&1; then - git checkout "v${{ env.zarf_version }}" + if git rev-parse "${{ env.zarf_version }}" >/dev/null 2>&1; then + git checkout "${{ env.zarf_version }}" else - echo "Error: Release version v${{ env.zarf_version }} not found in zarf-dev repository." + echo "Error: Release version ${{ env.zarf_version }} not found in zarf-dev repository." exit 1 fi