File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ jobs:
288288 GH_TOKEN : ${{ github.token }}
289289 run : |
290290 # Find built artifacts in target directory
291- artifact_dir="backend/ target/aarch64-apple-darwin/release/bundle"
291+ artifact_dir="target/aarch64-apple-darwin/release/bundle"
292292
293293 echo "Looking for artifacts in: $artifact_dir"
294294
@@ -305,17 +305,17 @@ jobs:
305305 fi
306306
307307 echo "Uploading: $filename as $new_filename"
308- gh release upload "edge" "$file" --clobber --repo "${{ github.repository }}" || \
309- (mv "$file" "$(dirname "$file")/$new_filename" && \
310- gh release upload "edge" "$(dirname "$file")/$new_filename" --clobber --repo "${{ github.repository }}")
308+ mv "$file" "$(dirname "$file")/$new_filename"
309+ gh release upload "edge" "$(dirname "$file")/$new_filename" --clobber --repo "${{ github.repository }}"
311310 fi
312311 done
313312
314313 # Also upload DMG if it exists
315314 for file in "$artifact_dir/dmg"/*.dmg; do
316315 if [[ -f "$file" ]]; then
317316 filename=$(basename "$file")
318- new_filename=$(echo "$filename" | sed 's/\.dmg$/-cef-aarch64.dmg/')
317+ # DMG already has _aarch64 in name, just add -cef suffix
318+ new_filename=$(echo "$filename" | sed 's/\.dmg$/-cef.dmg/')
319319
320320 echo "Uploading DMG: $filename as $new_filename"
321321 mv "$file" "$(dirname "$file")/$new_filename"
You can’t perform that action at this time.
0 commit comments