mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-04-25 02:12:14 +00:00
refactor: Resolve previously missed violation of SC2086
This commit is contained in:
parent
cfe5d616d2
commit
d67ba51741
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ upload_release() {
|
|||
fi
|
||||
ensure_tag
|
||||
anchor=$(echo "$TAG" | sed -e 's/^v//' -e 's/[^a-zA-Z0-9]/-/g')
|
||||
if ! "$BIN_DIR"/tea release create "${assets[@]}" --repo $REPO --note "$RELEASENOTES" --tag $TAG --title "$TITLE" --draft ${releaseType} >& "$TMP_DIR"/tea.log ; then
|
||||
if ! "$BIN_DIR"/tea release create "${assets[@]}" --repo $REPO --note "$RELEASENOTES" --tag "$TAG" --title "$TITLE" --draft ${releaseType} >& "$TMP_DIR"/tea.log ; then
|
||||
if grep --quiet 'Unknown API Error: 500' "$TMP_DIR"/tea.log && grep --quiet services/release/release.go:194 "$TMP_DIR"/tea.log ; then
|
||||
echo "workaround v1.20 race condition https://codeberg.org/forgejo/forgejo/issues/1370"
|
||||
sleep 10
|
||||
|
|
Loading…
Add table
Reference in a new issue