jenkins-x-plugins/jx-release-version

Expects github credentials even after setting github token

Closed this issue · 2 comments

Hi ,

I'm using jx-release-version binary to create tag in github but even after setting GITHUB_AUTH_TOKEN environment it asks for credentials.

./jx-release-version -debug

available environment:
OLDPWD=/home/ubuntu/jenkins-runner
SSH_TTY=/dev/pts/0
USER=ubuntu
MAIL=/var/mail/ubuntu
PATH=/home/ubuntu/bin:/home/ubuntu/.local/bin:JAVA_HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ubuntu/bin:/usr/lib/jvm/jdk-12.0.2/bin:/home/ubuntu/bin:/usr/lib/jvm/jdk-12.0.2/bin
GITHUB_AUTH_TOKEN=XXXXXXXXXXXXX
PWD=/home/ubuntu/jenkins-runner/example-flask
JAVA_HOME=/usr/lib/jvm/jdk-12.0.2
LANG=en_US.UTF-8
SHLVL=1
HOME=/home/ubuntu
LOGNAME=ubuntu
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
LC_CTYPE=UTF-8
_=./jx-release-version
Username for 'https://github.com':

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale

I'm closing this one because in v2 we don't use the github API anymore