fix: circleci for tagged releases

This commit is contained in:
Kevin Davis 2019-10-22 13:30:54 -04:00
parent e2f3fc15e4
commit 27833e14cc

View File

@ -18,13 +18,6 @@ commands:
name: "Restore source code cache" name: "Restore source code cache"
keys: keys:
- go-src-v1-{{ .Revision }} - go-src-v1-{{ .Revision }}
- run:
name: Checkout with tags
command: |
if [ -n "$CIRCLE_TAG" ]
then
git fetch --force origin "refs/tags/${CIRCLE_TAG}:refs/tags/${CIRCLE_TAG}"
fi
- checkout - checkout
- restore_cache: - restore_cache:
name: "Restore go modules cache" name: "Restore go modules cache"