diff --git a/.github/workflows/preview-release.yaml b/.github/workflows/preview-release.yaml index c801e56b..f71bda3d 100644 --- a/.github/workflows/preview-release.yaml +++ b/.github/workflows/preview-release.yaml @@ -96,9 +96,6 @@ jobs: - uses: actions/download-artifact@v3 with: name: rubyfmt-release-artifact-macos-latest-native - - id: vars - run: | - echo tag_name=${{github.ref}}-$(git rev-list --count HEAD) >> $GITHUB_OUTPUT - uses: actions-ecosystem/action-get-latest-tag@v1 id: get-latest-tag - uses: actions-ecosystem/action-bump-semver@v1 @@ -116,4 +113,4 @@ jobs: fail_on_unmatched_files: true generate_release_notes: true prerelease: true - name: ${{steps.vars.outputs.tag_name}} + name: ${{steps.bump-semver.outputs.new_version}}