Loading .gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,8 @@ create-tag: - git config user.email "$GITLAB_USER_EMAIL" - git config user.name "$GITLAB_USER_NAME" script: # this syncs tags with remote, in case we delete tags or move them to a different commit - git fetch --prune-tags --force - old_version=$(sed -n "s/^VERSION = \"\(.*\)\"/\1/p" ttxbackend/settings.py) - new_version=$(python tagging.py "$old_version" "$VERSION_TYPE") - > Loading Loading
.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,8 @@ create-tag: - git config user.email "$GITLAB_USER_EMAIL" - git config user.name "$GITLAB_USER_NAME" script: # this syncs tags with remote, in case we delete tags or move them to a different commit - git fetch --prune-tags --force - old_version=$(sed -n "s/^VERSION = \"\(.*\)\"/\1/p" ttxbackend/settings.py) - new_version=$(python tagging.py "$old_version" "$VERSION_TYPE") - > Loading