diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f289df8..d624102 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,8 +37,11 @@ jobs: needs: tag-and-publish runs-on: "ubuntu-latest" steps: - - uses: "marvinpinto/action-automatic-releases@latest" + - uses: actions/checkout@v3 + - id: package-version + uses: martinbeentjes/npm-get-version-action@latest + - uses: marvinpinto/action-automatic-releases@latest with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "${{ inputs.version }}" + automatic_release_tag: "v${{ steps.package-version.outputs.current-version}}" prerelease: false \ No newline at end of file