Skip to content

Commit

Permalink
Merge pull request #15 from pho3nixf1re/release-notes
Browse files Browse the repository at this point in the history
post notes to github releases
  • Loading branch information
pho3nixf1re authored Dec 17, 2023
2 parents a9a4124 + 7377362 commit e70a9bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ jobs:
"$GITHUB_OUTPUT"
- name: Rotate logs and release
if: ${{ steps.set_release.outputs.hasRelease == 'true' }}
id: release
run: |
npx changeset version
npx changeset tag
git push --follow-tags
echo "release=$(jq -r '.releases[0].commits[0].hash' changesets.json)" >> $GITHUB_OUTPUT
- name: Create github release notes
run: |
gh release create "v${{ steps.release.outputs.release }}" --generate-notes

0 comments on commit e70a9bc

Please sign in to comment.