From 6a254bc3d531fca0061ce96deaa916273afb7e4d Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Fri, 22 Sep 2017 11:06:41 +0200
Subject: [PATCH] Add comment to remember why upload docs to 'stable' url

---
 gitlab/functions.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index 185a9d8..7425107 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -359,6 +359,8 @@ if [[ -n "${CI_COMMIT_TAG}" ]]; then
   DOC_UPLOADS+=("${DOC_SERVER_PREFIX}/${CI_COMMIT_TAG}/")
 fi
 
+# upload documentation to a "stable" url if that is the latest tagged on the
+# master branch
 if [[ -n "${CI_COMMIT_TAG}" && "${IS_MASTER}" == "true" ]]; then
   DOC_UPLOADS+=("${DOC_SERVER_PREFIX}/stable/")
 fi
-- 
GitLab