Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,8 @@ jobs:
steps:
- uses: google-github-actions/release-please-action@v3.7.3
with:
release-type: node
package-name: ipfs-companion
command: manifest-pr
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now it would look for config and manifest files.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you expand on how this fixes things?

changelog-notes-type: github
command: release-pr
extra-files: |
add-on/manifest.common.json

release-assets:
runs-on: ubuntu-latest
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 @@
{
".": "2.21.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this updated automatically?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

answered your questions in the PR description 🔝

}
20 changes: 20 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"bootstrap-sha": "65fe66cc283f1ac8c89638034e7db006e1f53791",
"last-release-sha": "7td2b9838885b3adf52e78ddd23ac01cb819e631",
Comment on lines +2 to +3
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the sha of the last release and sha of the release we want to start counting changes from.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will these be updated automatically?

"group-pull-request-title-pattern": "chore${scope}: release${component} v${version}",
"extra-files": [
{
"type": "json",
"path": "add-on/manifest.common.json",
"jsonpath": "$.version"
}
],
Comment on lines +5 to +11
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and these cannot be associated with the package, because 🤷🏽

"packages": {
".": {
"release-type": "node",
"plugins": ["node-workspace"],
"package-name": "ipfs-companion",
"release-as": "2.22.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this updated automatically?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

answered your questions in the PR description 🔝

}
}
Comment on lines +12 to +19
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since manifests are designed to be setup for monorepo, the one package config looks like this.

}