Skip to content

Commit

Permalink
CI: Handle RC followed by numbers in sed pattern replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Sep 29, 2024
1 parent 17d48a4 commit 809eb3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/milestones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
if: ${{ !steps.current-milestone.outputs.milestone }}
id: milestone
run: |
version=$(echo "$VERSIONFILE" | head -n 3 | xargs | sed 's/ /./g' | sed 's/\(RC\|dev\)//g')
version=$(echo "$VERSIONFILE" | head -n 3 | xargs | sed 's/ /./g; s/\(RC[0-9]*\|dev\)//g')
echo "title=$version" >> "${GITHUB_OUTPUT}"
env:
VERSIONFILE: ${{ steps.version-file.outputs.version }}
Expand Down

0 comments on commit 809eb3e

Please sign in to comment.