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

index 14f36f924c698f854903746587c42b239a860eec..a5fde65fca0cd75b33c14fd2f1b48637744d5b48 100644 (file)
@@ -32,8 +32,7 @@ jobs:
     steps:
       - checkout
       - run: go get -u github.com/mitchellh/gox
     steps:
       - 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/tcnksm/ghr@latest
       - run: go install github.com/stevenmatthewt/semantics@latest
       - run:
           name: cross compile
       - run: go install github.com/stevenmatthewt/semantics@latest
       - run:
           name: cross compile
@@ -44,10 +43,6 @@ 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)
-            
-            # 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