From 2287c294deee017d25758a5179b37f983172d02b Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 10 Jul 2021 19:33:55 +0200 Subject: [PATCH] :bug: fix release name --- .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 893fd26c..836c4240 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,9 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + - name: Extract version + id: extract_version + uses: Saionaro/extract-package-version@v1.0.6 - name: Build # This would actually build your project, using zip for an example artifact run: | npm install @@ -24,8 +27,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + tag_name: ${{ steps.extract_version.outputs.version }} + release_name: Release ${{ steps.extract_version.outputs.version }} draft: true prerelease: true - name: Upload Release Asset