Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1963

Update version numbers before branching for release

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Rust Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Right now, the relevant steps of our release procedure are:

      • create new branch
      • in new branch, update crate version number and first-party dependencies from git to crates.io
      • after release, cherrypick crate version change back into main

      This is a bit of a hassle; I propose that instead we:

      • in main, update crate version number and first-party dependencies
      • create new branch

      The only wrinkle is that we want main to always use the git version of first-party dependencies; happily, cargo supports specifying multiple locations for a dependency for exactly this use case, so we can just list both git and version for those and it'll work.

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            abraham.egnor@mongodb.com Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: