From cb3f12d98fad90cb7473df9274c727db44b527ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Thu, 2 Oct 2025 13:34:35 +0200 Subject: [PATCH] bake: Default PKG_DEB_REVISION to 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > It is conventional to restart the `debian_revision` at 1 each time the `upstream_version` is increased. ref: https://www.debian.org/doc/debian-policy/ch-controlfields.html Signed-off-by: Paweł Gronowski --- docker-bake.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-bake.hcl b/docker-bake.hcl index def7934e..4093e97e 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -109,7 +109,7 @@ variable "PKG_DEB_BUILDFLAGS" { } variable "PKG_DEB_REVISION" { description = "Revision of the package to build, used for debian packages. Include an extra .0 in the version, in case we ever would have to re-build an already published release with a packaging-only change." - default = "0" + default = "1" } variable "PKG_DEB_EPOCH" { description = "Epoch of the package to build, used for debian packages. This is used to allow mistakes in the version numbers of older versions of a package, and also a package's previous version numbering schemes, to be left behind. Should be enforced per package and not globally."