Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/container-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
run: |
platform=${{ matrix.config.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
# Extract version part after last underscore
# Extract version part after last dash
ver="${GITHUB_REF#refs/*/}"
ver="${ver##*_}"
ver="${ver##*-}"
# Ensure it starts with 'v'
if [[ "$ver" != v* ]]; then
ver="v$ver"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
run: |
vv="${GITHUB_REF_NAME}"
vv="${vv//\//-}"
# Extract version part after the last underscore
vv="${vv##*_}"
# Extract version part after the last dash
vv="${vv##*-}"
# Ensure it starts with 'v'
if [[ "$vv" != v* ]]; then
vv="v$vv"
Expand Down
Loading