[tbb-commits] [tor-browser-build/master] Bug 29181: Add a version number in debootstrap-image filename
gk at torproject.org
gk at torproject.org
Wed Jan 30 19:53:50 UTC 2019
commit 592acedeb13ec0d08087b4cd2fb414b04431fb13
Author: Nicolas Vigier <boklm at torproject.org>
Date: Fri Jan 25 17:37:43 2019 +0100
Bug 29181: Add a version number in debootstrap-image filename
Updating this version number will cause the old images created by
debootstrap-image to be discarded when a new image is built by
container-image. However existing images from container-image will not
be discarded as container-image's filename doesn't depend on
debootstrap-image's filename.
---
projects/debootstrap-image/config | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/projects/debootstrap-image/config b/projects/debootstrap-image/config
index a1d26cb..c916e9f 100644
--- a/projects/debootstrap-image/config
+++ b/projects/debootstrap-image/config
@@ -1,5 +1,6 @@
# vim: filetype=yaml sw=2
-filename: 'container-image_[% c("var/container/suite") %]-[% c("var/container/arch") %].tar.gz'
+filename: 'container-image_[% c("var/container/suite") %]-[% c("var/container/arch") %]-[% c("version") %].tar.gz'
+version: 1
pkg_type: build
var:
More information about the tbb-commits
mailing list