-
Notifications
You must be signed in to change notification settings - Fork 338
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
PurchaseTester
: setting changelog
when submitting to TestFlight
#2232
Conversation
@@ -659,5 +652,5 @@ lane :check_pods do | |||
end | |||
|
|||
def current_version_number | |||
File.read("../.version").strip | |||
File.read("#{File.dirname(__FILE__)}/../.version").strip |
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.
This was slightly wrong, now it works when called from any folder.
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.
yeah, my bad, I didn't really consider paths other than calling from root. Solid improvement
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.
It wasn't used from any of the testers before :)
93c4d3e
to
7d35471
Compare
This will provide some context when a new build is submitted. Also changed the lane to use `upload_to_testflight` instead of `upload_to_appstore`.
.circleci/config.yml
Outdated
@@ -720,42 +720,8 @@ workflows: | |||
not: | |||
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ] | |||
jobs: | |||
- lint: |
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.
all of these are coming back before merging, right?
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.
Removed commit 👍🏻 was making sure it was still working.
@@ -659,5 +652,5 @@ lane :check_pods do | |||
end | |||
|
|||
def current_version_number | |||
File.read("../.version").strip | |||
File.read("#{File.dirname(__FILE__)}/../.version").strip |
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.
yeah, my bad, I didn't really consider paths other than calling from root. Solid improvement
7d35471
to
2474812
Compare
…ght` changelog Follow up to #2232.
**This is an automatic release.** ### Bugfixes * `Purchases`: avoid potential crash when initializing in the background (#2231) via NachoSoto (@NachoSoto) ### Other Changes * `PurchaseTester`: ignore errors when restoring purchases (#2228) via NachoSoto (@NachoSoto) * `PurchaseTester`: fixed `isPurchasing` state when purchasing fails (#2229) via NachoSoto (@NachoSoto) * `PurchaseTester`: setting `changelog` when submitting to `TestFlight` (#2232) via NachoSoto (@NachoSoto) * Revert "`SPM`: added `APPLICATION_EXTENSION_API_ONLY` flag to `RevenueCat` and `ReceiptParser` (#2217)" (#2225) via NachoSoto (@NachoSoto)
This will provide some context when a new build is submitted.
Also changed the lane to use
upload_to_testflight
instead ofupload_to_appstore
.