chore: add tag_name to release ci

This commit is contained in:
Zamitto
2025-04-28 22:09:58 -03:00
parent 66094c0aa2
commit aa83d38b85
2 changed files with 7 additions and 9 deletions

View File

@@ -33,12 +33,3 @@ jobs:
- name: Format check
run: yarn format-check
- name: test action
id: get-version
uses: beaconbrigade/package-json-version@v0.3.2
with:
path: .
- name: Print the version
run: echo "The version was ${{ steps.get-version.outputs.version }}"

View File

@@ -100,9 +100,16 @@ jobs:
GITHUB_ACTOR: ${{ github.actor }}
run: node scripts/upload-build.cjs
- name: Get package-json version
id: get-version
uses: beaconbrigade/package-json-version@v0.3.2
with:
path: .
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.get-version.outputs.version }}
draft: true
files: |
dist/*.exe