Skip to content

Commit 1fd84b7

Browse files
committed
ci: auto release changelog
1 parent 68cd612 commit 1fd84b7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/tagged-release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
1416

1517
- name: Set up Node.js
1618
uses: actions/setup-node@v2
@@ -34,7 +36,16 @@ jobs:
3436
- name: Build the extension
3537
run: yarn run build && node release.js && yarn run test && yarn run zip
3638

37-
- name: Release
39+
- name: Create Release for Tag
40+
id: release_tag
41+
uses: Akryum/release-tag@conventional
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
with:
45+
tag_name: ${{ github.ref }}
46+
preset: angular
47+
48+
- name: Upload artifacts
3849
uses: softprops/action-gh-release@v1
3950
if: startsWith(github.ref, 'refs/tags/')
4051
with:

0 commit comments

Comments
 (0)