-
Notifications
You must be signed in to change notification settings - Fork 82
[PM-10877] Use new version calculation in CI-main workflow #970
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #970 +/- ##
=======================================
Coverage 89.10% 89.10%
=======================================
Files 657 657
Lines 41317 41317
=======================================
Hits 36814 36814
Misses 4503 4503 ☔ View full report in Codecov by Sentry. |
|
New Issues
|
This reverts commit 1e18762.
7767edd to
a48819d
Compare
d639159 to
7112430
Compare
7112430 to
b67c219
Compare
# Conflicts: # .github/workflows/CI-main.yml
| build-version: ${{ needs.resolve-values.outputs.version_name }} | ||
| build-number: ${{ needs.resolve-values.outputs.version_number }} | ||
| xcode-version: ${{ needs.resolve-values.outputs.xcode_version }} | ||
| distribute: ${{ fromJSON(needs.resolve-values.outputs.distribute_to_testflight) }} |
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.
💡 outputs are always strings, fromJSON is converting it to a boolean
| build-number: ${{ needs.resolve-values.outputs.build_number }} | ||
| build-version: ${{ needs.resolve-values.outputs.version_name }} | ||
| build-number: ${{ needs.resolve-values.outputs.version_number }} | ||
| xcode-version: ${{ needs.resolve-values.outputs.xcode_version }} |
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.
for some reason ${{ env.*** }} isn't available here, we can access a bunch of other contexts, just not env. Seems like an oversight. We'll need to keep routing these through another job for the time being.


🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-10877
📔 Objective
Implement the new version calculation in
CI-main.yml. Testing this brought the need to trigger builds without distributing them, added a new input to help managing that.⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes