diff options
| -rw-r--r-- | .circleci/config.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b6752d..14f36f9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,6 +33,7 @@ jobs: - checkout - run: go get -u github.com/mitchellh/gox - run: go get -u github.com/tcnksm/ghr + # - run: find / -name ghr - run: go install github.com/stevenmatthewt/semantics@latest - run: name: cross compile @@ -43,8 +44,10 @@ jobs: name: create release command: | tag=$(/home/circleci/go/bin/semantics --output-tag) - # temp troubleshooting >:( - find / -name ghr + + # wat?? + ghr=$(/home/circleci/go/pkg/mod/cache/download/github.com/tcnksm/ghr) + if [ "$tag" ]; then /home/circleci/go/bin/ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/ else |