-
Notifications
You must be signed in to change notification settings - Fork 1
noug_version
Jean Dubois edited this page Apr 24, 2024
·
3 revisions
The noug_version
module can be imported with the statement import noug_version
.
The noug_version
module is used to have better informations about the current Nougaro version.
Note that Nougaro uses semantic versionning. We recommend you to read the whole semver specification.
Examples are given considering the version 3.14.15-rc.92
-
noug_version.major
: integer of the MAJOR version (3
) -
noug_version.minor
: integer of the MINOR version (14
) -
noug_version.patch
: integer of the PATCH version (15
) -
noug_version.phase
: string of the PHASE name ("rc"
). Usuallyalpha
,beta
,rc
,stable
. -
noug_version.release_serial
: integer of the MINOR INDEV version (92
). It resets when the phase switches back tostable
. When the version is under the form3.14.15-stable
or0.16.0-beta
, this number is0
. -
noug_version.version_list
: list under the form[major, minor, patch, phase, phase_minor]
Note
noug_version.release_serial
is the new name for noug_version.phase_minor
in 0.19.0-beta. noug_version.phase_minor
is deprecated and will be removed in 0.20.0-beta.
-
noug_version.clean_version_for_gh
(New in 0.19.0-beta): function that generates a beautiful str for the GH issues or PRs.