Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/gateway-helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true
type: string
appVersion:
description: 'App version (e.g., v1.0.0-m4)'
description: 'App version (e.g., 1.0.0-m4)'
required: true
type: string

Expand Down Expand Up @@ -39,8 +39,8 @@ jobs:
echo "::error::Invalid version '${CHART_VERSION}'. Expected semver (e.g. 1.0.0 or 1.0.0-alpha.1)."
exit 1
fi
if ! echo "${APP_VERSION}" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9._-]+)?$'; then
echo "::error::Invalid appVersion '${APP_VERSION}'. Expected v-prefixed semver (e.g. v1.0.0-m4)."
if ! echo "${APP_VERSION}" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9._-]+)?$'; then
echo "::error::Invalid appVersion '${APP_VERSION}'. Expected semver (e.g. 1.0.0-m4)."
exit 1
fi

Expand Down
Loading