From 046a3f8d72f88b65ff51241245f8382f1646725c Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 28 Jul 2019 12:31:51 +0200
Subject: [PATCH] [CD] Release on PyPi only on tags
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- Have been removed because env var wasn’t shared wth non-protected tags
- https://docs.gitlab.com/ee/ci/variables/#protected-environment-variables
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f8614ce..24da3065 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -103,6 +103,7 @@ release:
     - make build
     - make deploy PYPI_LOGIN=${PYPI_LOGIN} PYPI_PASSWORD=${PYPI_PASSWORD}
   only:
+    - tags
     - master
 
 release_test:
-- 
GitLab