From f5d8a1d4ad88585d2e077753a8b89c5e9fc59113 Mon Sep 17 00:00:00 2001 From: robertlincecum Date: Tue, 19 Dec 2023 15:25:01 -0600 Subject: [PATCH] fix inconsistent v prefix --- .github/workflows/cut-release-common.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cut-release-common.yml b/.github/workflows/cut-release-common.yml index 904d81b..6f1b2fa 100644 --- a/.github/workflows/cut-release-common.yml +++ b/.github/workflows/cut-release-common.yml @@ -100,7 +100,7 @@ jobs: - name: Update Version run: | - NEW_VERSION=$(npm version prerelease --preid=rc --no-git-tag-version) + NEW_VERSION=$(npm version prerelease --preid=rc --no-git-tag-version | sed 's/^v//') echo "VERSION=$NEW_VERSION" >> $GITHUB_ENV - name: Update Chart.yaml version @@ -137,7 +137,7 @@ jobs: - name: Update Version run: | - NEW_VERSION=$(npm version preminor --preid=pre --no-git-tag-version) + NEW_VERSION=$(npm version preminor --preid=pre --no-git-tag-version | sed 's/^v//') echo "VERSION=$NEW_VERSION" >> $GITHUB_ENV - name: Sync package-lock.json @@ -187,7 +187,7 @@ jobs: - name: Update Version run: | - NEW_VERSION=$(npm version prerelease --preid=rc --no-git-tag-version) + NEW_VERSION=$(npm version prerelease --preid=rc --no-git-tag-version | sed 's/^v//') echo "VERSION=$NEW_VERSION" >> $GITHUB_ENV - name: Update Chart.yaml version @@ -224,7 +224,7 @@ jobs: - name: Update Version run: | - NEW_VERSION=$(npm version preminor --preid=pre --no-git-tag-version) + NEW_VERSION=$(npm version preminor --preid=pre --no-git-tag-version | sed 's/^v//') echo "VERSION=$NEW_VERSION" >> $GITHUB_ENV - name: Sync package-lock.json