mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
fix: label stable releases as latest (#1567)
adds missing 'v' in regex #1405
This commit is contained in:
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@ -90,7 +90,7 @@ jobs:
|
|||||||
GIT_SHA="$(git rev-parse HEAD)"
|
GIT_SHA="$(git rev-parse HEAD)"
|
||||||
|
|
||||||
# Check if the version is stable (no rc or beta in the version)
|
# Check if the version is stable (no rc or beta in the version)
|
||||||
if [[ "$APP_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
if [[ "$APP_VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
docker manifest create \
|
docker manifest create \
|
||||||
documenso/documenso:latest \
|
documenso/documenso:latest \
|
||||||
--amend documenso/documenso-amd64:latest \
|
--amend documenso/documenso-amd64:latest \
|
||||||
@ -99,7 +99,7 @@ jobs:
|
|||||||
docker manifest push documenso/documenso:latest
|
docker manifest push documenso/documenso:latest
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$APP_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$ ]]; then
|
if [[ "$APP_VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$ ]]; then
|
||||||
docker manifest create \
|
docker manifest create \
|
||||||
documenso/documenso:rc \
|
documenso/documenso:rc \
|
||||||
--amend documenso/documenso-amd64:rc \
|
--amend documenso/documenso-amd64:rc \
|
||||||
@ -127,7 +127,7 @@ jobs:
|
|||||||
GIT_SHA="$(git rev-parse HEAD)"
|
GIT_SHA="$(git rev-parse HEAD)"
|
||||||
|
|
||||||
# Check if the version is stable (no rc or beta in the version)
|
# Check if the version is stable (no rc or beta in the version)
|
||||||
if [[ "$APP_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
if [[ "$APP_VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
docker manifest create \
|
docker manifest create \
|
||||||
ghcr.io/documenso/documenso:latest \
|
ghcr.io/documenso/documenso:latest \
|
||||||
--amend ghcr.io/documenso/documenso-amd64:latest \
|
--amend ghcr.io/documenso/documenso-amd64:latest \
|
||||||
@ -136,7 +136,7 @@ jobs:
|
|||||||
docker manifest push ghcr.io/documenso/documenso:latest
|
docker manifest push ghcr.io/documenso/documenso:latest
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$APP_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$ ]]; then
|
if [[ "$APP_VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$ ]]; then
|
||||||
docker manifest create \
|
docker manifest create \
|
||||||
ghcr.io/documenso/documenso:rc \
|
ghcr.io/documenso/documenso:rc \
|
||||||
--amend ghcr.io/documenso/documenso-amd64:rc \
|
--amend ghcr.io/documenso/documenso-amd64:rc \
|
||||||
|
|||||||
Reference in New Issue
Block a user