steps:
- checkout
- run: go get -u github.com/mitchellh/gox
- - run: go get -u github.com/tcnksm/ghr
+ - run: go install github.com/tcnksm/ghr@latest
- run: go install github.com/stevenmatthewt/semantics@latest
- run:
name: cross compile
name: create release
command: |
tag=$(/home/circleci/go/bin/semantics --output-tag)
- # temp troubleshooting >:(
- find / -name ghr
if [ "$tag" ]; then
/home/circleci/go/bin/ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/
else