]> git.r.bdr.sh - rbdr/mobius/commitdiff
Troubleshoot build pipeline
authorJeff Halter <redacted>
Fri, 4 Nov 2022 00:19:11 +0000 (17:19 -0700)
committerJeff Halter <redacted>
Fri, 4 Nov 2022 00:19:11 +0000 (17:19 -0700)
.circleci/config.yml

index 4b6752dc08ea53a3471cd938724eca5c67742efb..14f36f924c698f854903746587c42b239a860eec 100644 (file)
@@ -33,6 +33,7 @@ jobs:
       - checkout
       - run: go get -u github.com/mitchellh/gox
       - run: go get -u github.com/tcnksm/ghr
       - 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
       - 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)
           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
             if [ "$tag" ]; then
               /home/circleci/go/bin/ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/
             else