From 107431a311473be57cd5c1d334448188ae4c206b Mon Sep 17 00:00:00 2001 From: Kevin Davis Date: Tue, 15 Oct 2019 16:00:40 -0400 Subject: [PATCH] lint --- .circleci/config.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0051221f..2e72b807 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,15 +34,15 @@ jobs: steps: - checkout - run: - name: Checkout with tags - command: | - git fetch --force origin "refs/tags/${CIRCLE_TAG}:refs/tags/${CIRCLE_TAG}" - if [ -n "$CIRCLE_BRANCH" ] - then - git reset --hard $CIRCLE_SHA1 - git checkout -q -B $CIRCLE_BRANCH - fi - git reset --hard $CIRCLE_SHA1 + name: Checkout with tags + command: | + git fetch --force origin "refs/tags/${CIRCLE_TAG}:refs/tags/${CIRCLE_TAG}" + if [ -n "$CIRCLE_BRANCH" ] + then + git reset --hard $CIRCLE_SHA1 + git checkout -q -B $CIRCLE_BRANCH + fi + git reset --hard $CIRCLE_SHA1 - restore_cache: name: "Restore go modules cache" keys: