From a4a8030857521d45bf904e8369d4973a54ae5279 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Fri, 22 Sep 2023 10:31:29 +0200 Subject: [PATCH] Fixing bump v5 --- .github/workflows/bump.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 0a7ed49c..24f177b3 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -36,9 +36,9 @@ jobs: - name: Bump version id: bump_version run: | - pushd serverless-s3-local - version=$(npm version ${{ github.event.inputs.bumpTarget }}) - echo "VERSION=$version" >> "$GITHUB_ENV" + pushd serverless-s3-local + yarn version --${{ github.event.inputs.bumpTarget }} + jq -r '"VERSION=v\(.version)"' package.json >> "$GITHUB_ENV" popd - name: Commit pyproject.toml