aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-11-03 17:19:11 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-11-03 17:19:11 -0700
commit337f66006e8d71027bbab72403f280c957232f3d (patch)
tree2c31ea160044c4b788673ef6bd8465c76ce9fc64
parent75019849ff5e8301671a4aa9c1e7d928b98fd458 (diff)
Troubleshoot build pipeline
-rw-r--r--.circleci/config.yml7
1 files 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