-
Notifications
You must be signed in to change notification settings - Fork 316
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
Conversation
@@ -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) |
There was a problem hiding this comment.
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
??
There was a problem hiding this comment.
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)
7056c1b
to
e8f4bc5
Compare
… and specifying the target when obtaining the version number
6fa3a6f
to
b48575a
Compare
Updates the release script
PurchasesCoreSwift
pod before thePurchases
pod and dopod repo update
Requirements:
Based on modularization improvement: static dependency #319