authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-11-15 23:12:23 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-11-15 23:12:23 -08:00
logbea44ffb826b52ff37c290a004536b85157887ba
treec1a2c648cc145bd168c14a4e7c5b3091b9731764
parentc465724e52eb9e3b61637d6eba2119e3c8f42025

make_release- use a ghr binary to break the dep loop


1 files changed, 5 insertions(+), 4 deletions(-)

make_release.sh+5-4
......@@ -5,10 +5,11 @@ set -e
55date=$(date +'%Y.%m.%d')
66version=${CIRCLE_BUILD_NUM-$date}
77tag=v$version
8./zig-out/bin/zigmod aq install 1/nektro/ghr
9echo
10rm /artifacts/zigmod
11~/.zigmod/bin/ghr \
8
9# ghr uses Zigmod to build itself, so we need to use the binary to build Zigmod
10curl -s https://api.github.com/repos/nektro/ghr-zig/releases | jq -r '.[0].assets[].browser_download_url' | grep $(uname -m) | grep linux | wget -i -
11chmod +x ./ghr-linux-x86_64
12./ghr-linux-x86_64 \
1213 -t ${GITHUB_TOKEN} \
1314 -u ${CIRCLE_PROJECT_USERNAME} \
1415 -r ${CIRCLE_PROJECT_REPONAME} \