From e70d405d0af08cebb77e622cc563580bf8393970 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Fri, 23 Sep 2016 15:15:41 +0200
Subject: [PATCH] Register before submitting

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

diff --git a/gitlab/deploy.sh b/gitlab/deploy.sh
index 1221b18..1ca1498 100755
--- a/gitlab/deploy.sh
+++ b/gitlab/deploy.sh
@@ -5,6 +5,7 @@ source $(dirname ${0})/functions.sh
 
 dot_pypirc
 
+setup register --repository staging
 setup check sdist --formats zip upload --repository staging
 
 # if that worked, uploads documentation to pythonhosted if any exists
@@ -15,4 +16,5 @@ fi
 
 # if that worked, uploads source package to the production index
 log_info "Uploading package to ${PYPISERVER} on behalf of ${PYPIUSER}..."
+setup register --repository production
 setup check sdist --formats zip upload --repository production
-- 
GitLab