Skip to content

Commit 5295d49

Browse files
committed
chore: migrate to release-please for versioning and remove standard-version
1 parent 199264b commit 5295d49

File tree

6 files changed

+2136
-4908
lines changed

6 files changed

+2136
-4908
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,32 @@
1-
name: Release Extension
1+
name: Release Please
22

33
on:
44
push:
5-
tags:
6-
- 'v*'
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
712

813
jobs:
9-
release:
10-
name: Publish Extension
14+
release-please:
15+
runs-on: ubuntu-latest
16+
outputs:
17+
release_created: ${{ steps.release.outputs.release_created }}
18+
tag_name: ${{ steps.release.outputs.tag_name }}
19+
steps:
20+
- uses: googleapis/release-please-action@v4
21+
id: release
22+
with:
23+
config-file: release-please-config.json
24+
manifest-file: .release-please-manifest.json
25+
26+
publish:
27+
if: needs.release-please.outputs.release_created
1128
runs-on: ubuntu-latest
29+
needs: release-please
1230
steps:
1331
- name: Checkout Repository
1432
uses: actions/checkout@v4

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.0.9"
3+
}

.versionrc.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)