From: Jeff Halter Date: Fri, 4 Nov 2022 00:19:11 +0000 (-0700) Subject: Troubleshoot build pipeline X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/commitdiff_plain/337f66006e8d71027bbab72403f280c957232f3d Troubleshoot build pipeline --- 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