From c23059b036c018c8793a4b26f8e550717a0706af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Etxaniz?= Date: Fri, 7 Aug 2026 18:18:45 +0200 Subject: [PATCH] drop the commit id from the template values, since it is not available at render time --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 1dd90d5..9628ae8 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,7 @@ version = "{{vless .TagName}}" gitea-sidecar renders every `*.tmpl` file in the source to its name minus the suffix before building the wheel, so a tag of `v0.1.1` produces version `0.1.1` — `vless` strips the -leading `v`, which git wants and PEP 440 does not. `.TagName` and `.CommitID` are also -available for anything else worth stamping. +leading `v`, which git wants and PEP 440 does not. The tag is therefore the only place a version is written. Do not add a hardcoded version back into the template: the build would keep producing that one version, and publishing a