Skip to content

chore(ci): Check every maven central version for android publish#168

Merged
OS-pedrogustavobilro merged 1 commit into
mainfrom
ci/native-android-publish-version-check
May 11, 2026
Merged

chore(ci): Check every maven central version for android publish#168
OS-pedrogustavobilro merged 1 commit into
mainfrom
ci/native-android-publish-version-check

Conversation

@OS-pedrogustavobilro
Copy link
Copy Markdown
Contributor

Description

Check for all versions published to Maven Central, instead of just the latest one.

This is a copy of ionic-team/capacitor-plugins#2512, applied to this repository.

Rationale

In a situation where package.json version is older than the latest version on Maven Central (can happen if we trigger native android publish from a maintenance branch, or for plugins that have migrated from another repository), the publishing script was assuming that the version needed to be published, and would often fail because said version would already exist in Maven Central.

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other

Generated with Claude Code

@OS-pedrogustavobilro OS-pedrogustavobilro merged commit 07b2aec into main May 11, 2026
8 checks passed
@OS-pedrogustavobilro OS-pedrogustavobilro deleted the ci/native-android-publish-version-check branch May 11, 2026 09:52
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.

1 participant