Skip to content

Commit

Permalink
feat: generate git release automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Geron committed Oct 31, 2023
1 parent 5bf7397 commit 2cb6e45
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,13 @@ jobs:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Publish Version
run: yarn publish:public
- name: Publish Release
uses: LumaKernel/[email protected]
id: release
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Tag release
uses: Klemensas/action-autotag@stable
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_command: npm publish --access public
generate_release_notes: true

0 comments on commit 2cb6e45

Please sign in to comment.