From d620bf3031eba8437c116ea0a56cd361d3f9d6c1 Mon Sep 17 00:00:00 2001 From: Daniel_I_Am Date: Thu, 20 Aug 2020 16:38:36 +0200 Subject: [PATCH] These persist... #patch --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aef6457..3322135 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,7 +48,7 @@ version: - 'chmod 600 ~/.ssh/id_rsa' - '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 remote add deploy ssh://git@git.chaoticlogic.us:2302/discord-bots/chaosbot.git' + - 'git config remote.deploy.url >&- || git remote add deploy ssh://git@git.chaoticlogic.us:2302/discord-bots/chaosbot.git' - 'git push deploy --tags' - 'git describe --tags | tr -d "\n" > version' artifacts: