From 4ceb619f90e9cebeaafe347caf581d61d7e6b9f7 Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Tue, 23 May 2023 22:27:42 -0400 Subject: [PATCH] add {distance}.{vcs}{revision} to local identifier to further delineate direct-from-git builds --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 012cc7dd..75df5895 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,6 @@ experttune = "chirp.cli.experttune:main" rmprefix = "release_" [tool.versioningit.format] -distance = "{committer_date:%Y%m%d}" -dirty = "{committer_date:%Y%m%d}+d{build_date:%Y%m%d}" -distance-dirty = "{committer_date:%Y%m%d}+d{build_date:%Y%m%d}" +distance = "{committer_date:%Y%m%d}+{distance}.{vcs}{revision}" +dirty = "{committer_date:%Y%m%d}+{distance}.{vcs}{revision}.d{build_date:%Y%m%d}" +distance-dirty = "{committer_date:%Y%m%d}+{distance}.{vcs}{revision}.d{build_date:%Y%m%d}"