From 337f66006e8d71027bbab72403f280c957232f3d Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Thu, 3 Nov 2022 17:19:11 -0700 Subject: Troubleshoot build pipeline --- .circleci/config.yml | 7 +++++-- 1 file 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 -- cgit