-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix regex for gitlab tokens. #427
Conversation
.circleci/set-up-globals.sh
Outdated
rm /usr/local/bin/terminus | ||
ln -s /opt/terminus/bin/t3 /usr/local/bin/terminus | ||
mkdir ~/terminus && cd ~/terminus | ||
curl -L https://github.com/pantheon-systems/terminus/releases/download/`curl --silent "https://api.github.com/repos/pantheon-systems/terminus/releases/latest" | perl -nle'print $& while m#"tag_name": "\K[^"]*#g'`/terminus.phar --output terminus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it correct that there shouldn't be a space after download/
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess so. For readability, it seems that the nested curl statement could be on a line before this and then included in the download URL as a varible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed this to address that: 1cfa0b7
…s-plugin into gitlab-token
This was previously 20 characters, now it's 26 characters. I'm opening support for both in case there are old gitlab installations still on 20 characters (not even sure if this is possible though)