summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release.yml7
1 files 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