Skip to content

Conversation

@neo-jesse
Copy link
Collaborator

@neo-jesse neo-jesse commented Dec 4, 2025

feat: Add chore-release and internal-release scripts for automated tagging

This PR introduces two new Python scripts to automate our release tagging process across multiple repositories:

  1. chore-release:

    • Automates the tagging of ot3-firmware, buildroot, oe-core, and opentrons for alpha releases.
    • Dynamically detects the latest chore_release-X.Y.Z branch from the opentrons repository and prompts for user confirmation.
    • Supports different tag increment logic for each repository type (numeric, semver, alpha).
    • Includes a --dry-run option to simulate tagging without making actual changes.
    • Cleans up cloned repositories after execution.
  2. internal-release:

    • Automates the tagging of ot3-firmware, buildroot, oe-core, and opentrons for internal releases.
    • Uses fixed branches for each repository (edge for opentrons, main for ot3-firmware and oe-core, opentrons-develop for buildroot).
    • Requires a version argument (e.g., 8.8.0) which is converted to an internal version (e.g., 2.8.0).
    • Determines the next alpha number based on the opentrons repository's existing tags for the given version.
    • Supports specific tag formats like internal@v23, internal@2.8.0-alpha.0, and ot3@2.8.0-alpha.0.
    • Includes a --dry-run option that efficiently fetches only remote tags (without cloning) to show proposed tags.

These scripts aim to streamline our release workflow, reduce manual errors, and ensure consistent tagging across our repositories

@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.93%. Comparing base (a6255d4) to head (13f3b66).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             edge   #20286       +/-   ##
===========================================
+ Coverage   25.57%   56.93%   +31.36%     
===========================================
  Files        3636     3636               
  Lines      302862   302967      +105     
  Branches    42331    42624      +293     
===========================================
+ Hits        77449   172498    +95049     
+ Misses     225389   130245    -95144     
- Partials       24      224      +200     
Flag Coverage Δ
app 46.22% <ø> (+45.30%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1836 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@neo-jesse neo-jesse marked this pull request as ready for review December 8, 2025 22:03
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