remove the v prefix from chart version
Signed-off-by: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com>
This commit is contained in:
@@ -35,8 +35,9 @@ jobs:
|
|||||||
- name: Set versions
|
- name: Set versions
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{ github.event_name }} == 'release' ]]; then
|
if [[ ${{ github.event_name }} == 'release' ]]; then
|
||||||
APP_VERSION="${{ github.event.release.tag_name }}"
|
VERSION="${{ github.event.release.tag_name }}"
|
||||||
CHART_VERSION="${{ github.event.release.tag_name }}"
|
APP_VERSION="${VERSION}"
|
||||||
|
CHART_VERSION="${VERSION#v}" # Remove the v prefix
|
||||||
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