From 3588d160dc81d856cc78faa9fc9ddb8bd9eb6386 Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 16 Dec 2018 23:32:26 -0500 Subject: [PATCH] patch: added install for semantics --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7146138..cbd70e3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,6 +23,7 @@ jobs: - run: go get -u github.com/mitchellh/gox - run: go get -u github.com/tcnksm/ghr - run: go get -u github.com/stevenmatthewt/semantics + - run: go install github.com/stevenmatthewt/semantics - run: go get -v -t -d ./... - run: name: cross compile @@ -33,7 +34,7 @@ jobs: name: create release command: | tag=$(semantics --output-tag) - if ["$tag"]; then + if [ "$tag" ]; then ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/ else echo "The commit message(s) did not indicate a major/minor/patch version."