Skip to content

Commit 362dc5c

Browse files
authored
chore: Add release-please (#19)
1 parent 85f3a15 commit 362dc5c

File tree

5 files changed

+38
-9
lines changed

5 files changed

+38
-9
lines changed

.github/workflows/release.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release-please:
10+
name: Create Release
11+
outputs:
12+
release-pr: ${{ steps.release.outputs.pr }}
13+
tag-name: ${{ steps.release.outputs.tag_name }}
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Run release-please
17+
id: release
18+
uses: google-github-actions/release-please-action@v3
19+
with:
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
command: manifest

.release-please-manifest.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.0.1"
3+
}

.vscodeignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.github/
12
.vscode/
23
node_modules/
34
out/*.js.map

CHANGELOG.md

-9
This file was deleted.

release-please-config.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"release-type": "simple",
3+
"bump-minor-pre-major": true,
4+
"bump-patch-for-minor-pre-major": true,
5+
"pull-request-title-pattern": "chore: Release ${version}",
6+
"packages": {
7+
".": {
8+
"release-type": "node",
9+
"component": "vscode-noir",
10+
"include-component-in-tag": false
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)