Skip to content

Commit

Permalink
ci(release): use manifest releaser with release-please (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoishin committed Jan 2, 2024
1 parent d3ead8b commit 4f048fc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- release/*

permissions:
contents: write
Expand All @@ -19,12 +18,8 @@ jobs:
release_name: ${{ steps.release.outputs.name }}

steps:
- uses: google-github-actions/release-please-action@v3
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
package-name: nodecg
prerelease: ${{ startsWith(github.ref_name, 'release/') && 'rc' || false }}

publish:
runs-on: ubuntu-latest
Expand Down
Empty file added .release-please-manifest.json
Empty file.
8 changes: 8 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",

"release-type": "node",
"packages": {
".": {}
}
}

0 comments on commit 4f048fc

Please sign in to comment.