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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(releases): automate next version increment #10213
Conversation
chore: prepare for next release --no-verify chore: prepare for next release --no-verify chore: prepare for next release --no-verify chore: prepare for next release --no-verify
301fc9e
to
9d1ff54
Compare
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.
Couple minor qs, tho nothing blocking. This is a really nice addition 馃憣
puts "Parent latest version: #{parent_version_name}" | ||
puts "iOS latest version: #{ios_build_number}" | ||
puts "Android latest version: #{android_build_number}" | ||
end |
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.
moved to utils file
MSG | ||
slack(message: message, default_payloads: [], link_names: true) | ||
end | ||
end |
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 method is the meat of it:
if live app and no editable app (the next version to go out):
- create a new version in app store connect
- update the app.json with the new version
- open a pr to update in main
- send a slack message to remind us to merge the pr
else:
- if editable app
- we are good to go
- else
- send a slack message that we need an edit version and it couldn't be created for some reason
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.
Great addition Brian!! 馃専馃専馃専
I just left a few minor non-blocking suggestions
fastlane/Fastfile
Outdated
:x: :iphone: | ||
It's time to update the app version number! | ||
Merge this pr to keep shipping betas: | ||
#{pr_url} |
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.
Praise: 馃憦
|
||
macos: | ||
xcode: 15.1 | ||
resource_class: macos.m1.medium.gen1 |
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.
since we need to use fastlane here had to update the executor
This PR resolves PHIRE-875
Description
Attempts to automate the step to create the next version of the app.
As part of the nightly beta job check if there is an app version 'Ready for Sale' but not an app version in 'Prepare for Submission'. This should be the state after an app is approved by apple for distribution but we have not yet created the next version for development. If so create a new version.
Note on testing!
Because this depends on our app not having an editable version ready I could only test the individual parts of this. I tried to be thorough but the last bit, actually creating the next version via fastlane, I think we just have to see the next time we release if it works.
PR Checklist
To the reviewers 馃憖
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.