add release assets workflow

This commit is contained in:
2025-10-19 01:08:03 -07:00
parent a7098cfc20
commit 232efc2859
7 changed files with 92 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
#!/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/assemble
retry gh release upload "${TAG}" --clobber ./*