From 1c0ffbc1774d1d57b89b02ac9435502c3e1962a1 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Wed, 10 Aug 2016 11:12:23 +0100 Subject: [PATCH] Stop publishing historic versions --- bin/publish-site | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/publish-site b/bin/publish-site index 927309e4..4399d43a 100755 --- a/bin/publish-site +++ b/bin/publish-site @@ -29,7 +29,7 @@ case "$BRANCH" in if ! VERSION=$(echo "$DESCRIBE" | grep -oP '(?<=^v)[0-9]+\.[0-9]+\.[0-9]+') ; then fatal "Could not infer latest $BRANCH version from $DESCRIBE" fi - TAGS="$VERSION latest" + TAGS="latest" else VERSION="$BRANCH" TAGS="$VERSION"