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

PurchaseTester: setting changelog when submitting to TestFlight #2232

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

NachoSoto
Copy link
Contributor

@NachoSoto NachoSoto commented Jan 18, 2023

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.

IMG_C78B738B91AB-1

@NachoSoto NachoSoto added the ci label Jan 18, 2023
@NachoSoto NachoSoto requested a review from a team January 18, 2023 20:10
@@ -659,5 +652,5 @@ lane :check_pods do
end

def current_version_number
File.read("../.version").strip
File.read("#{File.dirname(__FILE__)}/../.version").strip
Copy link
Contributor Author

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.

Copy link
Member

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

Copy link
Contributor Author

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 :)

@NachoSoto NachoSoto force-pushed the purchase-tester-testflight-changelog branch 2 times, most recently from 93c4d3e to 7d35471 Compare January 18, 2023 20:22
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`.
@@ -720,42 +720,8 @@ workflows:
not:
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
jobs:
- lint:
Copy link
Member

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?

Copy link
Contributor Author

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
Copy link
Member

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

@NachoSoto NachoSoto force-pushed the purchase-tester-testflight-changelog branch from 7d35471 to 2474812 Compare January 18, 2023 20:40
@NachoSoto NachoSoto enabled auto-merge (squash) January 18, 2023 20:41
@NachoSoto NachoSoto merged commit 995eba2 into main Jan 18, 2023
@NachoSoto NachoSoto deleted the purchase-tester-testflight-changelog branch January 18, 2023 20:49
NachoSoto added a commit that referenced this pull request Jan 18, 2023
NachoSoto pushed a commit that referenced this pull request Jan 19, 2023
**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)
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