From fda8baab198bccbf27e5434926b4ed61582c3691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Fri, 26 May 2023 16:28:10 +0200 Subject: [PATCH] chore: handle nightly version numbers Here, we make it possible to add a "-nightly" suffix to the package version. This suffix will find its way to the Docker image tags. Thus, the nightly branch will have different image tags. This will resolve some confusion, as image tags are currently identical in nightly and master. --- tutorcairn/__about__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tutorcairn/__about__.py b/tutorcairn/__about__.py index 88601b2..10dccc1 100644 --- a/tutorcairn/__about__.py +++ b/tutorcairn/__about__.py @@ -1,2 +1,8 @@ __version__ = "15.0.6" +# Handle version suffix for nightly, just like tutor core. +__version_suffix__ = "" + +if __version_suffix__: + __version__ += "-" + __version_suffix__ +