iTwin / itwinjs-core

Monorepo for iTwin.js Library
https://www.itwinjs.org
MIT License
606 stars 210 forks source link

Fix dist-tag incorrectly assigned to the first release candidate for a minor iTwinjs update #7174

Open MikeNBentley opened 1 week ago

MikeNBentley commented 1 week ago

Resolve Issue #1125


These are more details explaining about the PR:

MichaelSwigerAtBentley commented 1 week ago

Previously, the first RC would be in master: https://github.com/iTwin/itwinjs-core/commit/1d087ebdca73a01993a1ecd0f6f1bcb9a9682767

With this change, this is no longer the case, right?

Do we want/need to port that commit to master?

MikeNBentley commented 1 week ago

Previously, the first RC would be in master: 1d087eb

With this change, this is no longer the case, right?

Do we want/need to port that commit to master?

Yes, dev.27 should be in release/4.9.x, then we will come back to master to push 4.10.0-dev.0. I think Dan did mention about dev.27 should only be in release/4.9.x but I am not so sure.

MichaelSwigerAtBentley commented 1 week ago

Previously, the first RC would be in master: 1d087eb With this change, this is no longer the case, right? Do we want/need to port that commit to master?

Yes, dev.27 should be in release/4.9.x, then we will come back to master to push 4.10.0-dev.0. I think Dan did mention about dev.27 should only be release/4.9.x but I am not so sure.

I think that makes sense, since all the other RCs arnt in master. But just want to make sure nothing is relying on the first RC being there.

hl662 commented 1 week ago

However, if we want to upgrade the version directly in release branch, for example, in case of a backport, we still need to trigger the Version Bump pipeline on release branch with parameter BumpType=nightly. This PR will not fix that.

I'm sorry, I might be confused here - does this refer to backports to release branches during the period of the release process when release candidates go out? This is separate from backports after the release process is finished right..? Because the latter should use BumpType=patch

MikeNBentley commented 1 week ago

However, if we want to upgrade the version directly in release branch, for example, in case of a backport, we still need to trigger the Version Bump pipeline on release branch with parameter BumpType=nightly. This PR will not fix that.

I'm sorry, I might be confused here - does this refer to backports to release branches during the period of the release process when release candidates go out? This is separate from backports after the release process is finished right..? Because the latter should use BumpType=patch

Sorry for the confusion, I do want to refer to the backports during release process. Thank you for the clarification!