mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 21:12:21 +00:00
add release assets workflow
This commit is contained in:
7 files changed
+92
-1
No files matched your search
Executable
+20
@@ -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 ./*
|
||||
Reference in new issue
Block a user