Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script-assisted release process #1421

Conversation

ssteinbach
Copy link
Collaborator

@ssteinbach ssteinbach commented Sep 26, 2022

Making an OTIO release is a lot of work. In order to streamline the process, I've started a series of incredibly hacky single purpose python scripts (and adapted others that had already been written), tying them together with a single make target.

The goal is that the process could boil down to:

conda create -n otio_release_0.16.0
conda activate otio_release_0.16.0
conda install cmake python=3.10 pyflakes flake8
git switch -c "release.0.16.0" upstream/main
make release
git push origin release.0.16.0
# land the release etc
git switch -c "start.0.17.0"
make start-new-version
git push origin start.0.17.0
  • make release
  • make start-new-version
    • unfreeze ci
    • bump the otio version
    • shuffle the version map (current->.last)
    • add dev suffix

This is a draft PR and will be rebased post landing the release and ideally used to start v0.16.0.

@meshula
Copy link
Collaborator

meshula commented Sep 26, 2022

looks like the script proposals are accidentally conflated with your staged release branch?

@ssteinbach
Copy link
Collaborator Author

Intentionally. Will rebase after landing that.

@ssteinbach ssteinbach force-pushed the main.release.automated_release_proposal branch from 040f7a1 to 666f334 Compare September 26, 2022 18:08
@ssteinbach ssteinbach force-pushed the main.release.automated_release_proposal branch from 666f334 to 38c16dd Compare September 26, 2022 19:01
@codecov-commenter
Copy link

codecov-commenter commented Sep 26, 2022

Codecov Report

Merging #1421 (3b906ae) into main (3703ac7) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1421   +/-   ##
=======================================
  Coverage   86.08%   86.08%           
=======================================
  Files         201      201           
  Lines       21051    21051           
  Branches     2461     2461           
=======================================
  Hits        18121    18121           
  Misses       2328     2328           
  Partials      602      602           
Flag Coverage Δ
py-unittests 86.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3703ac7...3b906ae. Read the comment docs.

@ssteinbach ssteinbach marked this pull request as ready for review September 26, 2022 20:53
@ssteinbach ssteinbach added this to the Public Beta 16 milestone Sep 26, 2022
@ssteinbach ssteinbach mentioned this pull request Sep 26, 2022
Copy link
Collaborator

@meshula meshula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ssteinbach ssteinbach merged commit ef13578 into AcademySoftwareFoundation:main Sep 26, 2022
@ssteinbach ssteinbach deleted the main.release.automated_release_proposal branch September 26, 2022 21:21
@ssteinbach ssteinbach changed the title Script-assisted release process proposal Script-assisted release process Sep 26, 2022
MichaelPlug pushed a commit to MichaelPlug/OpenTimelineIO that referenced this pull request Aug 5, 2023
)

* clean up verify license
* fix licenses in place
* add license to examples
* freeze ci version script
* lint pass
* add make targets for making a release and starting a new dev cycle
* update fetch_contributors so that it updates the CONTRIBUTORS.md
* adding in bump version number script
* dev1 stripping/appending script
* add confirmation to makefile
* omit the otio-version json from the packages
* rename bump version target to be specific to minor version bumps
* add shuffle verison map
* add dev-suffix target
* add test-core

Co-authored-by: ssteinbach <[email protected]>
Signed-off-by: Michele Spina <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants