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

Fix gradle bundle naming #10696

Merged
merged 1 commit into from Oct 30, 2019
Merged

Fix gradle bundle naming #10696

merged 1 commit into from Oct 30, 2019

Conversation

jkmassel
Copy link
Contributor

Fixes an issue causing builds not to succeed – you can test this by checking out release/13.5 and running bundle exec fastlane build_pre_releases. This issue was most likely introduced by #10583 – it appears Gradle changed how it names bundles by default.

This PR fixes the issue by explicitly specifying archivesBaseName rather than relying on the Gradle default, which should prevent the issue from recurring.

Additionally, extra error handling has been added in order to make this issue easier to track down in the future if it comes up again.

To test:
Run bundle exec fastlane build_pre_releases in this branch. It should succeed.

PR submission checklist:

  • I have considered adding unit tests where possible.

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@jkmassel jkmassel added the Releases Label related to managing releases label Oct 24, 2019
@jkmassel jkmassel added this to the 13.6 milestone Oct 24, 2019
@loremattei
Copy link
Contributor

Changes look good to me, but it seems that we need to update the CircleCI script as well due to the changes to the file names.
I tested the build locally and it actually fails on my machine, but it looks like the failure is not related to this PR, but to Jitpack flakiness.
I'll retest it in a while to make sure the issue is not related.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Oct 28, 2019

You can test the changes on this Pull Request by downloading the APK here.

Copy link
Contributor

@loremattei loremattei left a comment

Choose a reason for hiding this comment

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

LGTM!

@jkmassel jkmassel merged commit 77638d7 into release/13.5 Oct 30, 2019
@jkmassel jkmassel deleted the fix/gradle-bundle-naming branch October 30, 2019 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Releases Label related to managing releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants