Skip to content

chore(ci): fix release-please setup and move example app to Capacitor 9 - #106

Merged
alexgerardojacinto merged 1 commit into
nextfrom
chore/release-please-fixes-and-example-app
Nov 30, 2026
Merged

alexgerardojacinto merged 1 commit into
nextfrom
chore/release-please-fixes-and-example-app

Conversation

@alexgerardojacinto

Copy link
Copy Markdown
Collaborator

Fixes found while preparing the 9.0.0 release, based on what failed when the same release-please setup was used in capacitor-filesystem.

release_plugin.yml: ionic-team/capacitor-actions/release-plugin-npm@v1.0.0 does not exist, so the npm publish step would fail immediately ("Can't find 'action.yml'"). The action is called publish-plugin-npm (same inputs: working-directory, gh-token, npm-tag).

create_release_pr.yml: the explicit permissions block has no pull-requests, so release-please could create its branch but failed to open the release PR ("Resource not accessible by integration"). Adds pull-requests: write.

.release-please-manifest.json: 9.0.0-beta.0 was never tagged or released, so release-please cannot find the previous release and generates a changelog from the whole repository history. Set it to 8.2.7, the last real release (tag v8.2.7). The version of the next release is still set with a Release-As: 9.0.0 footer when next is squash-merged into main.

example-app: Capacitor packages used next and the lockfile resolved to rc/alpha versions. Now @capacitor/core, android, ios, cli, app and filesystem are ^9.0.0 and @capacitor/file-viewer is ^3.0.0 (all require @capacitor/core >=9.0.0). Lockfile regenerated: core, android, ios, cli and filesystem resolve to 9.0.0, app to 9.0.2, file-viewer to 3.0.0. The only prerelease versions left in the lockfile are unrelated third-party packages.

Merge method: this repo only allows squash; use a chore: title so it stays out of the changelog.

After this: create an 8.x branch from main, then open the next to main PR and squash with title feat!: support Capacitor 9 and a body with BREAKING CHANGE: requires Capacitor 9 (@capacitor/core >=9.0.0) and Release-As: 9.0.0.

@markemer markemer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Gonna need to create a github release probably, but this looks good.

@alexgerardojacinto
alexgerardojacinto merged commit 25ca087 into next Nov 30, 2026
4 checks passed
@alexgerardojacinto
alexgerardojacinto deleted the chore/release-please-fixes-and-example-app branch November 30, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants