]> git.r.bdr.sh - rbdr/mobius/blobdiff - .circleci/config.yml
Add missing error handling and logging (#109)
[rbdr/mobius] / .circleci / config.yml
index 14f36f924c698f854903746587c42b239a860eec..c1cffb82cd4ddc4a2e2e986781700cb237441775 100644 (file)
@@ -4,7 +4,7 @@ jobs:
   build:
     working_directory: ~/repo
     docker:
-      - image: cimg/go:1.19.1
+      - image: cimg/go:1.21.4
     steps:
       - checkout
 #      - restore_cache:
@@ -27,13 +27,12 @@ jobs:
 
   deploy:
     docker:
-      - image: cimg/go:1.19.1
+      - image: cimg/go:1.21.4
 #    working_directory: /go/src/github.com/jhalter/mobius
     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
@@ -44,10 +43,6 @@ jobs:
           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