Skip to content

Commit 34ef1de

Browse files
committed
fix(nginx): panic if sbin path is empty #1178
1 parent 6d34c88 commit 34ef1de

File tree

21 files changed

+4849
-5209
lines changed

21 files changed

+4849
-5209
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -288,39 +288,15 @@ jobs:
288288
- name: Upload to R2
289289
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/dev'
290290
uses: cloudflare/wrangler-action@v3
291+
env:
292+
WRANGLER_LOG: debug
291293
with:
292294
accountId: ${{ secrets.CF_ACCOUNT_ID }}
293295
apiToken: ${{ secrets.CF_R2_API_TOKEN }}
294296
wranglerVersion: "4.21.1"
295297
command: |
296-
retry_upload() {
297-
local file_path="$1"
298-
local remote_path="$2"
299-
local max_attempts=3
300-
local attempt=1
301-
302-
while [ $attempt -le $max_attempts ]; do
303-
echo "Attempt $attempt of $max_attempts: Uploading $file_path to $remote_path"
304-
if r2 object put "$remote_path" --file "$file_path" --remote; then
305-
echo "Successfully uploaded $file_path on attempt $attempt"
306-
return 0
307-
else
308-
echo "Failed to upload $file_path on attempt $attempt"
309-
if [ $attempt -lt $max_attempts ]; then
310-
echo "Waiting 5 seconds before retry..."
311-
sleep 5
312-
fi
313-
attempt=$((attempt + 1))
314-
fi
315-
done
316-
317-
echo "Failed to upload $file_path after $max_attempts attempts"
318-
return 1
319-
}
320-
321-
# Upload files with retry
322-
retry_upload ./${{ env.DIST }}.tar.gz nginx-ui-dev-build/${{ env.DIST }}.tar.gz
323-
retry_upload ./${{ env.DIST }}.tar.gz.digest nginx-ui-dev-build/${{ env.DIST }}.tar.gz.digest
298+
r2 object put nginx-ui-dev-build/${{ env.DIST }}.tar.gz --file ./${{ env.DIST }}.tar.gz --remote
299+
r2 object put nginx-ui-dev-build/${{ env.DIST }}.tar.gz.digest --file ./${{ env.DIST }}.tar.gz.digest --remote
324300
325301
docker-build:
326302
if: github.event_name != 'pull_request'

app/src/language/ar/app.po

Lines changed: 317 additions & 317 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)