From 7245480e093a21312e2c4c20ef57c93cd09559f9 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. --- tutorandroid/__about__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tutorandroid/__about__.py b/tutorandroid/__about__.py index 1aa815c..9d7ed14 100644 --- a/tutorandroid/__about__.py +++ b/tutorandroid/__about__.py @@ -1,2 +1,8 @@ __version__ = "15.0.0" +# Handle version suffix for nightly, just like tutor core. +__version_suffix__ = "" + +if __version_suffix__: + __version__ += "-" + __version_suffix__ +