Skip to content

Commit

Permalink
add feature based on Gabe's feedback to checkout the right zarf versi…
Browse files Browse the repository at this point in the history
…on to avoid injector to version mismatch but fixed a stupid mistake v4
  • Loading branch information
mcamick committed Oct 6, 2024
1 parent 7a0845b commit ea42ba4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-zarf-injector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea42ba4

Please sign in to comment.