itwinjs-core icon indicating copy to clipboard operation
itwinjs-core copied to clipboard

Allow RC on older Maj version

Open DanRod1999 opened this issue 2 years ago • 2 comments

Add new parameter called releaseCandidatePrevMaj which runs the the create branch step job.

Skips other RC tasks as I believe they are unnecessary/unwanted in this circumstance.

Once branch is created I believe we can run minor bump once the new "RC" clears all its checks

Need to figure out what steps are needed in the updateMaster job because I believe some of them are necessary but not sure about all of them.

DanRod1999 avatar Nov 30 '23 03:11 DanRod1999

what happens if i run this pipeline with minor on a previous release/X.x branch ?

aruniverse avatar Nov 30 '23 15:11 aruniverse

what happens if i run this pipeline with minor on a previous release/X.x branch ?

  • node common/scripts/install-run-rush version --override-bump ${{ parameters.BumpType }} --version-policy prerelease-monorepo-lockStep --bump
  • # When creating a minor release, the NextVersion.md need to be cleared and the contents placed into a {Version Number}.md file
  • git tag -a release/$(getVersion.version) -m "v$(getVersion.version)"

these three steps occur when you run minor bump

  • No RC is created (don't know if thats important)
    • this also implies no 3.8.0-dev.x version are published to npm
  • release branch isn't created (this happens when we run the pipeline as releaseCandidate

just running minor on this would work if we create the release branch for the new minor manually I think, but this is just an educated guess. I don't know how: node common/scripts/install-run-rush version --override-bump ${{ parameters.BumpType }} --version-policy prerelease-monorepo-lockStep --bump behaves when the current version is already --version-policy prerelease-monorepo-lockStep

DanRod1999 avatar Nov 30 '23 16:11 DanRod1999