From 79d0ed8a60876487967e52db26a2a926abb26893 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Wed, 13 Feb 2019 17:58:21 +0100
Subject: [PATCH] Revert "[release] Try a different method for authenticating
 using CI_JOB_TOKEN"

This reverts commit 730cf6a4aa7074afddb8848bb140754f4f7cfb2f.
---
 bob/devtools/release.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/bob/devtools/release.py b/bob/devtools/release.py
index 9354149b..a26b04a6 100644
--- a/bob/devtools/release.py
+++ b/bob/devtools/release.py
@@ -70,11 +70,7 @@ def get_gitlab_instance():
           logger.debug('Did not find any of %s nor CI_JOB_TOKEN is defined. ' \
               'Asking for user token on the command line...', '|'.join(cfgs))
           token = input("Your %s (private) token: " % server)
-          gl = gitlab.Gitlab(server, private_token=token, api_version=4)
-        else:
-          username = 'gitlab-ci-token'
-          gl = gitlab.Gitlab(server, email='gitlab-ci-token', password=token)
-          gl.auth()
+        gl = gitlab.Gitlab(server, private_token=token, api_version=4)
 
     return gl
 
-- 
GitLab