Skip to content

Commit

Permalink
build: release-please updated to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred-Vatin committed Aug 25, 2024
1 parent 152b64c commit 5863ed1
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 24 deletions.
36 changes: 12 additions & 24 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
# this assumes that you have created a personal access token
# (PAT) and configured it as a GitHub action secret named
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
# `RELEASE_PLEASE` (this secret name is not important).
token: ${{ secrets.RELEASE_PLEASE }}
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: simple
changelog-types:
[
{"type":"feat","section":"🚀 Features","hidden":false},
{"type":"change","section":"🚀 Features","hidden":false},
{"type":"deprecate","section":"⚠️ Changes","hidden":false},
{"type":"remove","section":"⚠️ Changes","hidden":false},
{"type":"fix","section":"🐞 Bug Fixes","hidden":false},
{"type":"revert","section":"🐞 Bug Fixes","hidden":false},
{"type":"security","section":"🐞 Bug Fixes","hidden":false},
{"type":"perf","section":"✨ Polish","hidden":false},
{"type":"refactor","section":"✨ Polish","hidden":false},
{"type":"style","section":"✨ Polish","hidden":false},
{"type":"build","section":"🧰 Other","hidden":false},
{"type":"chore","section":"🧰 Other","hidden":false},
{"type":"deps","section":"🧰 Other","hidden":true},
{"type":"ci","section":"🧰 Other","hidden":true},
{"type":"test","section":"🧪 Tests","hidden":false},
{"type":"docs","section":"📚 Documentation","hidden":false}
]
pull-request-header: "🤖 I have created a release"
# optional. customize path to release-please-config.json
config-file: release-please-config.json
# optional. customize path to .release-please-manifest.json
manifest-file: .release-please-manifest.json

# package-name: ${{env.ACTION_NAME}}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: Print release outputs for debugging
run: |
echo "Release outputs:"
echo "🍏 This job's status is ${{ job.status }}."
echo "${{ toJson(steps.release.outputs) }}"
Empty file added .release-please-manifest.json
Empty file.
97 changes: 97 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"include-component-in-tag": false,
"include-v-in-tag": true,
"pull-request-header": "🤖 I have created a release",
"pull-request-footer": "",
"packages": {
".": {
"package-name": "never-be-lost",
"changelog-sections": [
{
"type": "build",
"hidden": false,
"section": "🧰 Other"
},
{
"type": "change",
"hidden": false,
"section": "🚀 Features"
},
{
"type": "chore",
"hidden": false,
"section": "🧰 Other"
},
{
"type": "ci",
"hidden": true,
"section": "🧰 Other"
},
{
"type": "deprecate",
"hidden": false,
"section": "⚠️ Changes"
},
{
"type": "deps",
"hidden": true,
"section": "🧰 Other"
},
{
"type": "docs",
"hidden": false,
"section": "📚 Documentation"
},
{
"type": "feat",
"hidden": false,
"section": "🚀 Features"
},
{
"type": "fix",
"hidden": false,
"section": "🐞 Bug Fixes"
},
{
"type": "perf",
"hidden": false,
"section": "✨ Polish"
},
{
"type": "refactor",
"hidden": false,
"section": "✨ Polish"
},
{
"type": "remove",
"hidden": false,
"section": "⚠️ Changes"
},
{
"type": "revert",
"hidden": false,
"section": "🐞 Bug Fixes"
},
{
"type": "security",
"hidden": false,
"section": "🐞 Bug Fixes"
},
{
"type": "style",
"hidden": false,
"section": "✨ Polish"
},
{
"type": "test",
"hidden": false,
"section": "🧪 Tests"
}
]
}
},
"release-type": "node",
"separate-pull-requests": true,
"tag-separator": "@"
}

0 comments on commit 5863ed1

Please sign in to comment.