Skip to content

Commit a5f87d9

Browse files
Fix asset names
1 parent b651e0f commit a5f87d9

File tree

1 file changed

+5
-25
lines changed

1 file changed

+5
-25
lines changed

.github/workflows/upload-agnostic-assets.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,6 @@ jobs:
3838
echo "Downloaded files:"
3939
ls -lh
4040
41-
# Windows: .exe installer
42-
if [ -f "Cubeast.Connect_${VERSION}_x64-setup.exe" ]; then
43-
echo "Creating version-agnostic Windows installer..."
44-
cp "Cubeast.Connect_${VERSION}_x64-setup.exe" "Cubeast.Connect_x64-setup.exe"
45-
gh release upload "$TAG" "Cubeast.Connect_x64-setup.exe" --repo ${{ github.repository }} --clobber
46-
echo "✓ Uploaded Cubeast.Connect_x64-setup.exe"
47-
else
48-
echo "⚠ Windows installer not found: Cubeast.Connect_${VERSION}_x64-setup.exe"
49-
fi
50-
5141
# Windows: .msi installer
5242
if [ -f "Cubeast.Connect_${VERSION}_x64_en-US.msi" ]; then
5343
echo "Creating version-agnostic Windows MSI installer..."
@@ -69,21 +59,11 @@ jobs:
6959
fi
7060
7161
# Linux: .AppImage
72-
if [ -f "cubeast-connect_${VERSION}_amd64.AppImage" ]; then
62+
if [ -f "Cubeast.Connect_${VERSION}_amd64.AppImage" ]; then
7363
echo "Creating version-agnostic Linux installer..."
74-
cp "cubeast-connect_${VERSION}_amd64.AppImage" "cubeast-connect_amd64.AppImage"
75-
gh release upload "$TAG" "cubeast-connect_amd64.AppImage" --repo ${{ github.repository }} --clobber
76-
echo "✓ Uploaded cubeast-connect_amd64.AppImage"
77-
else
78-
echo "⚠ Linux installer not found: cubeast-connect_${VERSION}_amd64.AppImage"
79-
fi
80-
81-
# Linux: .deb
82-
if [ -f "cubeast-connect_${VERSION}_amd64.deb" ]; then
83-
echo "Creating version-agnostic Linux deb package..."
84-
cp "cubeast-connect_${VERSION}_amd64.deb" "cubeast-connect_amd64.deb"
85-
gh release upload "$TAG" "cubeast-connect_amd64.deb" --repo ${{ github.repository }} --clobber
86-
echo "✓ Uploaded cubeast-connect_amd64.deb"
64+
cp "Cubeast.Connect_${VERSION}_amd64.AppImage" "Cubeast.Connect_amd64.AppImage"
65+
gh release upload "$TAG" "Cubeast.Connect_amd64.AppImage" --repo ${{ github.repository }} --clobber
66+
echo "✓ Uploaded Cubeast.Connect_amd64.AppImage"
8767
else
88-
echo "⚠ Linux deb package not found: cubeast-connect_${VERSION}_amd64.deb"
68+
echo "⚠ Linux installer not found: Cubeast.Connect_${VERSION}_amd64.AppImage"
8969
fi

0 commit comments

Comments
 (0)