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