Skip to content

Commit

Permalink
Fix release tagging (#4646)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5d43060)
  • Loading branch information
frangio committed Oct 3, 2023
1 parent 51191d3 commit d6954f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release-cycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,12 @@ jobs:
with:
name: ${{ github.ref_name }}
path: ${{ steps.pack.outputs.tarball }}
- name: Tag
run: npx changeset tag
- name: Publish
run: bash scripts/release/workflow/publish.sh
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
TARBALL: ${{ steps.pack.outputs.tarball }}
TAG: ${{ steps.pack.outputs.tag }}
- name: Push tags
run: git push --tags
- name: Create Github Release
uses: actions/github-script@v6
env:
Expand Down
1 change: 1 addition & 0 deletions scripts/release/workflow/github-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = async ({ github, context }) => {
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: `v${version}`,
target_commitish: github.ref_name,
body: extractSection(changelog, version),
prerelease: process.env.PRERELEASE === 'true',
});
Expand Down

0 comments on commit d6954f1

Please sign in to comment.