From aa83d38b85b52b7e8e7a78f3e10018416ff7858e Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Mon, 28 Apr 2025 22:09:58 -0300 Subject: [PATCH] chore: add tag_name to release ci --- .github/workflows/lint.yml | 9 --------- .github/workflows/release.yml | 7 +++++++ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 69ac96c2..0a20e469 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7098e44..f0991a13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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