Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

CI: change the version bump logic #2919

Merged
merged 3 commits into from
Mar 18, 2022
Merged

Conversation

mkolar
Copy link
Member

@mkolar mkolar commented Mar 18, 2022

This PR changes the logic of CI action that determines the next OpenPype version with each nightly and production release.

Untill now, any PR that was labeled with type: Feature triggered upping of the minor version, however because of that it became quite hard to tell when we need to re-deploy re-built executables, and when it's enough to use automated system with zips.

With this change we're making this a lot more transparent.

If a pull request requires a new build of the binaries, due to changes in the igniter, pyproject.toml or similar major changes, it is the responsibility of the Author and the Reviewer to make sure the PR is labeled as Bump Minor.

CI will pick this up and make sure that minor version is updated next time this PR makes it to a release. The main upside being that from now on, we should be able to easily tell if a new build needs to be deployed to studio or not, by watching out for minor version bumps.

3.9.0 -> 3.9.3 -> 3.9.x - shouldn't require new build
3.9.3 -> 3.10.1 - will require a new build to be deployed to artist.

@mkolar mkolar self-assigned this Mar 18, 2022
@mkolar mkolar added the type: enhancement Enhancements to existing functionality label Mar 18, 2022
tools/ci_tools.py Outdated Show resolved Hide resolved
@mkolar mkolar changed the title CI: change minor bump logic CI: change the version bump logic Mar 18, 2022
@mkolar mkolar modified the milestone: next Mar 18, 2022
@mkolar mkolar merged commit be9201b into develop Mar 18, 2022
@mkolar mkolar deleted the CI/change_version_up_logic branch March 18, 2022 16:45
@mkolar mkolar added this to the next milestone Mar 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants