Skip to content

Commit

Permalink
Merge branch 'bugfix/force-fetch-tags' into 'master'
Browse files Browse the repository at this point in the history
Force fetch tags

See merge request python/speechmatics-python-internal!99
  • Loading branch information
TudorCRL committed Jun 13, 2023
2 parents 15cda91 + 791a3ed commit 158bf4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ push_to_github:
- apk add git git-lfs openssh-client
script:
# Exit if the Tag is not on the default branch.
# Fetch all tags and remote branches first
- git fetch --all --tags
# Fetch all tags and remote branches first (force tags to allow clobbering)
- git fetch --all --tags -f
- if [[ -z "$(git branch --all --contains tags/${CI_COMMIT_TAG} | grep ${CI_DEFAULT_BRANCH})" ]]; then echo "Tag is not on
master." ; exit 1; fi

Expand Down

0 comments on commit 158bf4f

Please sign in to comment.