Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release script #320

Merged
merged 2 commits into from
Aug 26, 2020
Merged

Update release script #320

merged 2 commits into from
Aug 26, 2020

Conversation

aboedo
Copy link
Member

@aboedo aboedo commented Aug 26, 2020

Updates the release script

  • publish PurchasesCoreSwift pod before the Purchases pod and do pod repo update
  • specify the target when getting the version number (needed because otherwise the script will get stuck waiting for manual input on target selection)

Requirements:

@aboedo aboedo added the HOLD label Aug 26, 2020
@aboedo aboedo requested a review from vegaro August 26, 2020 17:27
@aboedo aboedo self-assigned this Aug 26, 2020
@@ -30,7 +30,7 @@ platform :ios do
lane :bump do |options|
new_version_number = options[:version]
fail ArgumentError, "missing version" unless new_version_number
previous_version_number = get_version_number
previous_version_number = get_version_number(target: "Purchases")
increment_version_number(version_number: new_version_number)
Copy link
Contributor

Choose a reason for hiding this comment

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

so this increases the version number in both PurchasesCoreSwift and Purchases??

Copy link
Member Author

Choose a reason for hiding this comment

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

yep! I tried it and it works.
increment_version_number is just a wrapper around Apple's avgtool, and it doesn't distinguish between targets, it updates for all targets in the project (including test targets)

Base automatically changed from modularization_4 to develop August 26, 2020 19:17
@aboedo aboedo removed the HOLD label Aug 26, 2020
… and specifying the target when obtaining the version number
@aboedo aboedo merged commit 9a068ab into develop Aug 26, 2020
@aboedo aboedo deleted the update_release_script branch August 26, 2020 19:25
@aboedo aboedo mentioned this pull request Aug 27, 2020
@aboedo aboedo mentioned this pull request Sep 10, 2020
@aboedo aboedo mentioned this pull request Jul 13, 2021
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.

2 participants