Skip to content

Commit

Permalink
fix get tag_name bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosyrain committed Nov 12, 2024
1 parent 602ff65 commit 948f46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ jobs:
LATEST_RELEASE_TAG=($(curl -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ inputs.release-repo }}/releases | jq '.[].tag_name' | grep 'v2.0' | sort -V | tail -1))
https://api.github.com/repos/${{ inputs.release-repo }}/releases | jq -r '.[].tag_name' | grep 'v2.0' | sort -V | tail -1))
echo "Latest release tag is $LATEST_RELEASE_TAG"
echo "tag=$LATEST_RELEASE_TAG" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 948f46c

Please sign in to comment.