From 4a6bd816533a363184b220c2fa6da1e3e1d89358 Mon Sep 17 00:00:00 2001 From: Andrea Lamparelli Date: Fri, 23 Dec 2022 20:01:21 +0100 Subject: [PATCH] fixed release.yml --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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