Skip to content

Commit 3cb7458

Browse files
committed
Fix release script missing MacOS artifact crash
1 parent c4930e5 commit 3cb7458

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

release_script.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@ if [ "$CONCLUSION" == "success" ]; then
2121
echo "CI pipeline completed successfully."
2222

2323
echo "Cleaning old artifact directories..."
24-
rm -rf ./linux_rpm ./linux_deb ./windows_release ./macos_release
24+
rm -rf ./linux_rpm ./linux_deb ./windows_release
2525

2626
echo "Downloading artifacts..."
27-
gh run download -n RustTracker-Linux-RPM --dir ./linux_rpm
28-
gh run download -n RustTracker-Linux-DEB --dir ./linux_deb
29-
gh run download -n RustTracker-Windows --dir ./windows_release
30-
gh run download -n RustTracker-MacOS --dir ./macos_release
27+
gh run download -n RustTracker-Linux-RPM --dir ./linux_rpm || true
28+
gh run download -n RustTracker-Linux-DEB --dir ./linux_deb || true
29+
gh run download -n RustTracker-Windows --dir ./windows_release || true
3130

3231
echo "Creating GitHub Release..."
33-
gh release create "$TAG" ./windows_release/*.exe ./linux_rpm/*.rpm ./linux_deb/*.deb ./macos_release/*.dmg ./RustTracker-SteamDeck-$TAG.AppImage --title "RustTracker $TAG" --notes "Release $TAG"
32+
gh release create "$TAG" ./windows_release/*.exe ./linux_rpm/*.rpm ./linux_deb/*.deb ./RustTracker-SteamDeck-$TAG.AppImage --title "RustTracker $TAG" --notes "Release $TAG"
3433
fi
3534
echo "Done!"

0 commit comments

Comments
 (0)