Skip to content

Commit

Permalink
build: Upgrade to release-please v4
Browse files Browse the repository at this point in the history
...
  • Loading branch information
Göran Sander committed Feb 17, 2024
1 parent 23d3977 commit 9749059
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 16 deletions.
27 changes: 11 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,19 @@ jobs:
- name: Show github.ref
run: echo "$GITHUB_REF"

- uses: google-github-actions/release-please-action@v3
- uses: google-github-actions/release-please-action@v4
id: release
if: github.repository_owner == 'ptarmiganlabs'
with:
# command: manifest
# bootstrap-sha: ad2255c9c24f68d0adb5255159fa5a849ab880e4
# last-release-sha: b6266be9857c88405364c8af54fbfbed83bb9f66
# release-as: 9.1.0
token: ${{ secrets.RELEASE_PLEASE_PAT }}
# 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
release-type: node
package-name: butler-sos
default-branch: master
prerelease: false
release-search-depth: 5
commit-search-depth: 200
draft: true
changelog-types: '[{"type": "feat","section": "Features","hidden": false},{"type": "fix","section": "Bug Fixes","hidden": false},{"type": "chore","section": "Miscellaneous","hidden": false},{"type": "refactor","section": "Refactoring","hidden": false},{"type": "docs","section": "Documentation","hidden": false},{"type": "build","section": "Miscellaneous","hidden": false}]'
target-branch: master

- name: Show output from Release-Please
- name: Show output from Release-Please
if: always()
env:
RELEASE_PLEASE_OUTPUT: ${{ toJSON(steps.release.outputs) }}
Expand Down Expand Up @@ -99,7 +94,7 @@ jobs:
- name: Install dependencies
run: |
pwd
npm ci
npm ci --include=prod
- name: Build binaries
run: |
Expand Down Expand Up @@ -211,7 +206,7 @@ jobs:
- name: Install dependencies
run: |
pwd
npm ci
npm ci --include=prod
- name: Build binaries
run: |
Expand Down Expand Up @@ -303,7 +298,7 @@ jobs:
- name: Install dependencies
run: |
pwd
npm ci
npm ci --include=prod
- name: Build binaries
run: |
Expand Down
47 changes: 47 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"bootstrap-sha": "f65d47539fbf04124184cc50920652d226723f2c",
"last-release-sha": "f65d47539fbf04124184cc50920652d226723f2c",
"release-as": "9.9.0",
"release-type": "node",
"prerelease": false,
"draft": true,
"release-search-depth": 10,
"commit-search-depth": 200,
"changelog-sections": [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "chore",
"section": "Miscellaneous",
"hidden": false
},
{
"type": "refactor",
"section": "Refactoring",
"hidden": false
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
},
{
"type": "build",
"section": "Miscellaneous",
"hidden": false
}
],
"packages": {
".": {
"package-name": "butler-sos"
}
}
}

0 comments on commit 9749059

Please sign in to comment.