remove v prefix from app version too
Signed-off-by: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com>
This commit is contained in:
@@ -35,9 +35,13 @@ jobs:
|
|||||||
- name: Set versions
|
- name: Set versions
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{ github.event_name }} == 'release' ]]; then
|
if [[ ${{ github.event_name }} == 'release' ]]; then
|
||||||
VERSION="${{ github.event.release.tag_name }}"
|
TAG_NAME="${{ github.event.release.tag_name }}"
|
||||||
|
|
||||||
|
# Remove the v prefix
|
||||||
|
VERSION=${TAG_NAME#v}
|
||||||
|
|
||||||
APP_VERSION="${VERSION}"
|
APP_VERSION="${VERSION}"
|
||||||
CHART_VERSION="${VERSION#v}" # Remove the v prefix
|
CHART_VERSION="${VERSION}"
|
||||||
else
|
else
|
||||||
APP_VERSION="nightly"
|
APP_VERSION="nightly"
|
||||||
CHART_VERSION="0.0.0-nightly-untagged-latest"
|
CHART_VERSION="0.0.0-nightly-untagged-latest"
|
||||||
|
|||||||
Reference in New Issue
Block a user