Skip to content

Commit 46895a5

Browse files
authored
🔧 Add release.yml as template for releases (#80)
1 parent 9dc3eaf commit 46895a5

File tree

3 files changed

+41
-63
lines changed

3 files changed

+41
-63
lines changed

.github/release.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- ci/cd
5+
- configuration
6+
- github_actions
7+
- stale
8+
9+
categories:
10+
- title: Breaking Changes
11+
labels:
12+
- breaking-change
13+
14+
- title: Exciting New Features
15+
labels:
16+
- feature
17+
18+
- title: Fixes
19+
labels:
20+
- bug
21+
- security fix
22+
23+
- title: Changes
24+
labels:
25+
- update
26+
27+
- title: Documentation
28+
labels:
29+
- documentation
30+
31+
- title: Dependencies
32+
labels:
33+
- dependencies
34+
35+
- title: Other Changes
36+
labels:
37+
- '*'

.github/workflows/bump-version.yml

-45
This file was deleted.

.github/workflows/publish.yml

+4-18
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Create Release
1+
name: Publish Extension
22

33
on:
4-
push:
5-
tags:
6-
- 'v*'
4+
release:
5+
types:
6+
- created
77

88
jobs:
99
publish:
@@ -27,17 +27,3 @@ jobs:
2727
run: yarn deploy
2828
env:
2929
VSCE_PAT: ${{ secrets.VSCE_PAT }}
30-
31-
create-github-release:
32-
name: Create GitHub Release
33-
runs-on: ubuntu-latest
34-
needs: publish
35-
36-
steps:
37-
- name: Checkout code
38-
uses: actions/checkout@v3
39-
40-
- name: Create Release
41-
run: gh release create ${{ github.ref }} --generate-notes
42-
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)