From 7495656076e251230fb9926a5cd64d7e94a893ed Mon Sep 17 00:00:00 2001 From: Egor Tarasov Date: Tue, 5 Nov 2024 22:12:07 +0100 Subject: [PATCH] Fix escaping of env variables in release workflow once again (#268) --- .github/workflows/upload-artifacts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload-artifacts.yml b/.github/workflows/upload-artifacts.yml index d3a4cc46..64581e97 100644 --- a/.github/workflows/upload-artifacts.yml +++ b/.github/workflows/upload-artifacts.yml @@ -16,13 +16,13 @@ jobs: - name: parse-version-from-chart run: | - VERSION=$(cat ./deploy/ydb-operator/Chart.yaml | sed -n 's/^version: //p') + VERSION=$(cat ./deploy/ydb-operator/Chart.yaml | sed -n 's/^version: //p' | tr -d '\"') echo "VERSION=$VERSION" >> $GITHUB_ENV - name: create-tag uses: mathieudutour/github-tag-action@v6.2 with: - tag_prefix: "v" + tag_prefix: "" custom_tag: ${{ env.VERSION }} github_token: ${{ github.token }}