chore: implement automatic releases

This commit is contained in:
Alex Zenla
2024-04-02 23:50:45 +00:00
parent 2083ec0604
commit 7c55e63f24
24 changed files with 247 additions and 18 deletions

View File

@ -0,0 +1,22 @@
#!/bin/sh
set -e
retry() {
for i in $(seq 1 10)
do
if "${@}"
then
return 0
else
sleep "${i}"
fi
done
"${@}"
}
TAG="${1}"
shift
cd target/assets
retry gh release upload "${TAG}" --clobber ./*