Skip to content

Commit a29e6f3

Browse files
committed
Fixes for release for debian/octane
1 parent 48fd2fd commit a29e6f3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish-image-octane.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
VERSION=edge
2424
if [[ $GITHUB_REF == refs/tags/* ]]; then
2525
VERSION=${GITHUB_REF#refs/tags/}
26+
# Remove -o or -d suffix if present
27+
VERSION=${VERSION%-*}
2628
fi
2729
MAJOR="$(echo "${VERSION}" | cut -d. -f1)"
2830
MINOR="$(echo "${VERSION}" | cut -d. -f2)"

0 commit comments

Comments
 (0)