Skip to content

Commit

Permalink
chore: Update release workflow to use package.json version for creati…
Browse files Browse the repository at this point in the history
…ng releases
  • Loading branch information
codemile committed Jun 1, 2024
1 parent db042da commit 711f008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: "🔨 Build projects"
run: yarn build

public-release:
publish-release:
runs-on: ubuntu-latest
needs: [ version ]
steps:
Expand All @@ -105,7 +105,7 @@ jobs:
with:
script: |
const { owner, repo } = context.repo;
const tag_name = 'v${{needs.version.outputs.version}}';
const tag_name = 'v${{needs.version.outputs.package_version}}';
const body = await github.rest.repos.generateReleaseNotes({
owner,
repo,
Expand Down

0 comments on commit 711f008

Please sign in to comment.