We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ad895 commit 88e6d24Copy full SHA for 88e6d24
.github/workflows/release.yml
@@ -27,7 +27,7 @@ jobs:
27
run: |
28
module="${{ github.event.inputs.module }}"
29
if [ -z "$module" ] || [ "$module" = "From Tag" ]; then
30
- module="$(echo "$GITHUB_REF" | sed 's~^refs/tags/\(.*\)-v[0-9.]\+$~\1~')"
+ module="$(echo "$GITHUB_REF" | sed 's~^refs/tags/\(.*\)-v[0-9\.]\+\(-M[0-9]\+\|-RC[0-9]\+\)\?$~\1~')"
31
echo "extract project: ${GITHUB_REF}, ${module}"
32
else
33
echo "Using supplied module: $module"
0 commit comments