summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-04-18 13:54:39 +0000
committerintrigeri <intrigeri@boum.org>2017-04-18 13:54:39 +0000
commit4cfd9e21721f01241e234f2134d578ce1a377c35 (patch)
tree4dc68beff6ecf642127d03024d27e5abada83a70
parentfba09c0bf9c2802cebe1e5b06c1ddfedb270c89c (diff)
apt-mirror: use tagged APT snapshots when building a Stretch release from a tag.3.0-beta4
-rwxr-xr-xauto/scripts/apt-mirror3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/scripts/apt-mirror b/auto/scripts/apt-mirror
index 4902e91..78fc088 100755
--- a/auto/scripts/apt-mirror
+++ b/auto/scripts/apt-mirror
@@ -33,7 +33,8 @@ CURRENT_BRANCH=$(current_branch)
if [ "$BASE_BRANCH" = stable ] \
|| [ "$BASE_BRANCH" = testing ] \
- || [ "$CURRENT_BRANCH" = feature/stretch ]
+ || [ "$CURRENT_BRANCH" = feature/stretch ] \
+ || ( on_a_tag && [ "$BASE_BRANCH" = feature/stretch ] ) \
then
case "$ARCHIVE" in
debian-security)