Skip to content

Commit 3148e7f

Browse files
fix manual tag
1 parent e82713b commit 3148e7f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
1315
- name: Set env
1416
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1517
- uses: actions/setup-node@v2
@@ -24,3 +26,20 @@ jobs:
2426
- run: npm publish --access public
2527
env:
2628
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
29+
- name: Changelog
30+
uses: Bullrich/generate-release-changelog@master
31+
id: Changelog
32+
env:
33+
REPO: ${{ github.repository }}
34+
- name: Create Release
35+
id: create_release
36+
uses: actions/create-release@v1
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
tag_name: ${{ github.ref }}
41+
release_name: Release ${{ github.ref }}
42+
body: |
43+
${{ steps.Changelog.outputs.changelog }}
44+
draft: false
45+
prerelease: false

0 commit comments

Comments
 (0)