Skip to content

Fixes release automations#770

Merged
JayShortway merged 1 commit into3.0.0-devfrom
release-automations
Mar 31, 2026
Merged

Fixes release automations#770
JayShortway merged 1 commit into3.0.0-devfrom
release-automations

Conversation

@JayShortway
Copy link
Copy Markdown
Member

Motivation

I'm working on improving the integration experience of purchases-kmp, by avoiding the need for app developers to add the purchases-hybrid-common dependency manually as this adds friction and prevents properly testing Kotlin/Native modules that depend on purchases-kmp. Instead, we will be embedding purchases-ios directly in purchases-kmp, handling all complexity for the app developers.

Description

This PR fixes release automations after migrating both the iOS and Android targets away from PHC. This mainly involves updating the VERSIONS.md file correctly upon release.

@JayShortway JayShortway self-assigned this Mar 25, 2026
@JayShortway JayShortway requested a review from a team as a code owner March 25, 2026 16:08
Copy link
Copy Markdown
Contributor

@tonidero tonidero left a comment

Choose a reason for hiding this comment

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

Looks great!

command: bundle exec fastlane github_release_current_version

workflows:
on-action-upgrade-hybrid-common:
Copy link
Copy Markdown
Contributor

@tonidero tonidero Mar 25, 2026

Choose a reason for hiding this comment

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

We will need to change PHC to avoid calling this non-existing workflow after merging this to main

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great point! I think this should be enough RevenueCat/purchases-hybrid-common#1583

if git_tag_exists(tag: version_number, remote: true, remote_name: 'origin')
raise "git tag with version #{version_number} already exists!"
end
def get_billing_client_version(android_version)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wonder if we should extract this to the fastlane plugin so it can be shared with PHC... Not a blocker though :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Hmm yea, wouldn't that require us to make it a lane instead of a function?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Indeed.... so yeah, I guess it's not that complex and not that reused just now that we need to do this I think

sdk_version,
"[#{ios_version}](https://github.com/RevenueCat/purchases-ios/releases/tag/#{ios_version})",
"[#{android_version}](https://github.com/RevenueCat/purchases-android/releases/tag/#{android_version})",
"N/A",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hmm good to leave this like this for now I think. Once we've merge this and some time passes, it might be worth removing the column entirely.

@JayShortway JayShortway force-pushed the release-automations branch from 1eaac03 to de47d53 Compare March 26, 2026 16:06
@JayShortway JayShortway force-pushed the release-automations branch from de47d53 to f7ab356 Compare March 26, 2026 16:11
@JayShortway JayShortway force-pushed the release-automations branch 2 times, most recently from f7ab356 to 93308b4 Compare March 26, 2026 16:28
ajpallares added a commit to RevenueCat/purchases-hybrid-common that referenced this pull request Mar 26, 2026
purchases-kmp is removing the `on-action-upgrade-hybrid-common` workflow
(RevenueCat/purchases-kmp#770), so PHC should stop triggering it.

Made-with: Cursor
Copy link
Copy Markdown
Contributor

@ajpallares ajpallares left a comment

Choose a reason for hiding this comment

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

Makes sense!

command: bundle exec fastlane github_release_current_version

workflows:
on-action-upgrade-hybrid-common:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great point! I think this should be enough RevenueCat/purchases-hybrid-common#1583

@JayShortway JayShortway force-pushed the release-automations branch from 93308b4 to 1847506 Compare March 27, 2026 16:31
@JayShortway JayShortway force-pushed the delete-datetime branch 2 times, most recently from 73c8e62 to dd8b696 Compare March 30, 2026 13:26
@JayShortway JayShortway force-pushed the release-automations branch from 1847506 to 5cc4675 Compare March 30, 2026 13:26
@JayShortway JayShortway force-pushed the release-automations branch 2 times, most recently from e34cb7c to c7c32ce Compare March 31, 2026 14:02
Base automatically changed from delete-datetime to 3.0.0-dev March 31, 2026 14:21
@JayShortway JayShortway force-pushed the release-automations branch from c7c32ce to 831aa91 Compare March 31, 2026 14:22
@JayShortway JayShortway merged commit 863c11b into 3.0.0-dev Mar 31, 2026
12 checks passed
@JayShortway JayShortway deleted the release-automations branch March 31, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants