Skip to content

Commit

Permalink
⚙️ fix genreate release tag github action (#1209)
Browse files Browse the repository at this point in the history
Signed-off-by: xudong liu <[email protected]>
  • Loading branch information
XudongLiuHarold authored Aug 20, 2024
1 parent 564342e commit b3ccb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
latest_tag=${{ steps.check.outputs.latest_tag }}
if [[ latest_tag =~ ${PRERELEASE_SEMVER_REGEX} ]]; then
if [[ ${latest_tag} =~ ${PRERELEASE_SEMVER_REGEX} ]]; then
second_latest_release_tag=$(git tag --sort=-v:refname | grep -E ${SEMVER_REGEX} | awk "p{print; exit} /${latest_tag}/{p=1}")
echo "${latest_tag} is a pre-release, return second latest release tag ${second_latest_release_tag}"
echo "pre_release=1" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit b3ccb18

Please sign in to comment.