Change key to be \n seperated #patch

This commit is contained in:
Daniel_I_Am 2020-08-20 16:35:44 +02:00
parent 5a5d368908
commit f80bc6b08e
No known key found for this signature in database
GPG Key ID: FC83834B306E8F14

View File

@ -44,7 +44,7 @@ version:
- 'apk add git grep npm openssh-client' - 'apk add git grep npm openssh-client'
- 'npm install -g semver' - 'npm install -g semver'
- 'mkdir -p ~/.ssh/' - 'mkdir -p ~/.ssh/'
- 'echo $GITLAB_DEPLOY_KEY > ~/.ssh/id_rsa' - 'echo -e $GITLAB_DEPLOY_KEY > ~/.ssh/id_rsa'
- 'chmod 600 ~/.ssh/id_rsa' - 'chmod 600 ~/.ssh/id_rsa'
- 'ssh-keyscan -p 2302 git.chaoticlogic.us >> ~/.ssh/known_hosts' - 'ssh-keyscan -p 2302 git.chaoticlogic.us >> ~/.ssh/known_hosts'
- 'git tag $(semver -i $( (git log -1 --pretty=%B | grep -oP "(?<=#)(patch|minor|major)" || echo "patch") | head -1) $(git tag --list | sort -rV | head -1))' - 'git tag $(semver -i $( (git log -1 --pretty=%B | grep -oP "(?<=#)(patch|minor|major)" || echo "patch") | head -1) $(git tag --list | sort -rV | head -1))'