Skip to content

[BRE-769] Use Fastlane to keep github releases in sync with mobile deploy versions #1593

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

michalchecinski
Copy link

@michalchecinski michalchecinski commented May 16, 2025

🎟️ Tracking

https://bitwarden.atlassian.net/browse/BRE-769

📔 Objective

Add a workflow to check for new iOS version submitted to the stores. If a new version exists, publish the GitHub release as the latest and non-pre-release.

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 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

@michalchecinski michalchecinski requested review from a team and matt-livefront as code owners May 16, 2025 14:57
@michalchecinski michalchecinski requested review from a team and Eeebru and removed request for a team May 16, 2025 14:58
Copy link
Contributor

github-actions bot commented May 16, 2025

Logo
Checkmarx One – Scan Summary & Details27c7a70b-7ea7-4e6b-bc30-cfa2ee3b78ef

Great job, no security vulnerabilities found in this Pull Request

Copy link

codecov bot commented May 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.63%. Comparing base (bb32fb4) to head (40ae989).
Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1593       +/-   ##
===========================================
- Coverage   89.74%   69.63%   -20.11%     
===========================================
  Files         783      255      -528     
  Lines       49353    11542    -37811     
===========================================
- Hits        44290     8037    -36253     
+ Misses       5063     3505     -1558     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines 25 to 27
latest_release=$(jq -r 'first' <<< $(curl --silent https://api.github.com/repos/bitwarden/ios/releases))
is_latest_prerelease=$(jq -r '.prerelease' <<< $latest_release)
echo "is_latest_prerelease=$is_latest_prerelease" >> $GITHUB_OUTPUT
Copy link
Member

Choose a reason for hiding this comment

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

We create the releases as Drafts, not pre-releases; will those be picked up by that logic?

Copy link
Author

@michalchecinski michalchecinski May 20, 2025

Choose a reason for hiding this comment

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

@differsthecat It won't. I changed it to pick up the draft releases. Is it the same for android?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, that wil be the same for Android!

Copy link
Author

Choose a reason for hiding this comment

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

Thanks! I'll change the worflows accordingly

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