The project uses release versioning a format YY.MM.DD
(both for pip packages and image tags). For instance, when releasing a version on Sep 15, 2021, it would be versionsed as 21.9.15
(no zero before 9
).
Suppose, today is October 15, 2020, and we want to update both apolo-extras pip package and docker image.
-
Make sure all tests are green in
master
branch. -
Bump code version directly to
master
.git checkout master
;- update
apolo_extras/version.py
: set__version__ = "20.10.15"
; - run
make changelog-draft
and verify changelog looks valid; - run
make changelog
- this will delete changelog items fromCHANGELOG.d
; git add CHANGELOG* apolo_extras/version.py && git commit -m "Release v$(python setup.py --version)"
andpush
directly toorigin/master
;- wait for green build in Actions;
-
Submit a release on GitHub.
To debug a release process without changing latest versions of package and image, you can issue an alpha release just postfixing the version with a
:
20.10.15a1
20.10.15a2