Skip to content

Commit

Permalink
chore: upgrade release please action from v2 to v4 (#2982)
Browse files Browse the repository at this point in the history
* chore(release-please-action): upgrade from v2 to v4

* chore(ci): remove target branch

* chore(release-please): disable `include-component-in-tag`

Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>

* chore(release-please): format JSON properties per line

Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>

* Remove last release sha

---------

Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
Co-authored-by: Luke Karrys <luke@lukekarrys.com>
  • Loading branch information
3 people authored Mar 6, 2024
1 parent 391cc5b commit 0035d8e
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 35 deletions.
36 changes: 1 addition & 35 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,8 @@ jobs:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v2
- uses: google-github-actions/release-please-action@v4
id: release
with:
package-name: node-gyp
release-type: node
changelog-types: >
[{"type":"feat","section":"Features","hidden":false},
{"type":"fix","section":"Bug Fixes","hidden":false},
{"type":"bin","section":"Core","hidden":false},
{"type":"gyp","section":"Core","hidden":false},
{"type":"lib","section":"Core","hidden":false},
{"type":"src","section":"Core","hidden":false},
{"type":"test","section":"Tests","hidden":false},
{"type":"build","section":"Core","hidden":false},
{"type":"clean","section":"Core","hidden":false},
{"type":"configure","section":"Core","hidden":false},
{"type":"install","section":"Core","hidden":false},
{"type":"list","section":"Core","hidden":false},
{"type":"rebuild","section":"Core","hidden":false},
{"type":"remove","section":"Core","hidden":false},
{"type":"deps","section":"Core","hidden":false},
{"type":"python","section":"Core","hidden":false},
{"type":"lin","section":"Core","hidden":false},
{"type":"linux","section":"Core","hidden":false},
{"type":"mac","section":"Core","hidden":false},
{"type":"macos","section":"Core","hidden":false},
{"type":"win","section":"Core","hidden":false},
{"type":"windows","section":"Core","hidden":false},
{"type":"zos","section":"Core","hidden":false},
{"type":"doc","section":"Doc","hidden":false},
{"type":"docs","section":"Doc","hidden":false},
{"type":"readme","section":"Doc","hidden":false},
{"type":"chore","section":"Miscellaneous","hidden":false},
{"type":"refactor","section":"Miscellaneous","hidden":false},
{"type":"ci","section":"Miscellaneous","hidden":false},
{"type":"meta","section":"Miscellaneous","hidden":false}]
# Standard Conventional Commits: `feat` and `fix`
# node-gyp subdirectories: `bin`, `gyp`, `lib`, `src`, `test`
# node-gyp subcommands: `build`, `clean`, `configure`, `install`, `list`, `rebuild`, `remove`
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "10.0.1"
}
40 changes: 40 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"packages": {
".": {
"include-component-in-tag": false,
"release-type": "node",
"changelog-sections": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "bin", "section": "Core", "hidden": false },
{ "type": "gyp", "section": "Core", "hidden": false },
{ "type": "lib", "section": "Core", "hidden": false },
{ "type": "src", "section": "Core", "hidden": false },
{ "type": "test", "section": "Tests", "hidden": false },
{ "type": "build", "section": "Core", "hidden": false },
{ "type": "clean", "section": "Core", "hidden": false },
{ "type": "configure", "section": "Core", "hidden": false },
{ "type": "install", "section": "Core", "hidden": false },
{ "type": "list", "section": "Core", "hidden": false },
{ "type": "rebuild", "section": "Core", "hidden": false },
{ "type": "remove", "section": "Core", "hidden": false },
{ "type": "deps", "section": "Core", "hidden": false },
{ "type": "python", "section": "Core", "hidden": false },
{ "type": "lin", "section": "Core", "hidden": false },
{ "type": "linux", "section": "Core", "hidden": false },
{ "type": "mac", "section": "Core", "hidden": false },
{ "type": "macos", "section": "Core", "hidden": false },
{ "type": "win", "section": "Core", "hidden": false },
{ "type": "windows", "section": "Core", "hidden": false },
{ "type": "zos", "section": "Core", "hidden": false },
{ "type": "doc", "section": "Doc", "hidden": false },
{ "type": "docs", "section": "Doc", "hidden": false },
{ "type": "readme", "section": "Doc", "hidden": false },
{ "type": "chore", "section": "Miscellaneous", "hidden": false },
{ "type": "refactor", "section": "Miscellaneous", "hidden": false },
{ "type": "ci", "section": "Miscellaneous", "hidden": false },
{ "type": "meta", "section": "Miscellaneous", "hidden": false }
]
}
}
}

0 comments on commit 0035d8e

Please sign in to comment.