]> git.r.bdr.sh - rbdr/mobius/blobdiff - .circleci/config.yml
patch: v0.12.1
[rbdr/mobius] / .circleci / config.yml
index 14f36f924c698f854903746587c42b239a860eec..da510e81f6d66d9ca6bd9d1fa1125b86043ad072 100644 (file)
@@ -4,7 +4,7 @@ jobs:
   build:
     working_directory: ~/repo
     docker:
-      - image: cimg/go:1.19.1
+      - image: cimg/go:1.22.1
     steps:
       - checkout
 #      - restore_cache:
@@ -27,13 +27,12 @@ jobs:
 
   deploy:
     docker:
-      - image: cimg/go:1.19.1
+      - image: cimg/go:1.22.1
 #    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