Fix release tagging (#4646)

pull/4651/head
Francisco 1 year ago committed by GitHub
parent b4a9c47e9b
commit 5d43060cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/release-cycle.yml
  2. 1
      scripts/release/workflow/github-release.js

@ -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:

@ -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',
});

Loading…
Cancel
Save