mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 11:37:26 +01:00
Fixes for release for debian/octane
This commit is contained in:
2
.github/workflows/publish-image-debian.yaml
vendored
2
.github/workflows/publish-image-debian.yaml
vendored
@@ -23,6 +23,8 @@ jobs:
|
||||
VERSION=edge
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
VERSION=${GITHUB_REF#refs/tags/}
|
||||
# Remove -o or -d suffix if present
|
||||
VERSION=${VERSION%-*}
|
||||
fi
|
||||
MAJOR="$(echo "${VERSION}" | cut -d. -f1)"
|
||||
MINOR="$(echo "${VERSION}" | cut -d. -f2)"
|
||||
|
||||
Reference in New Issue
Block a user