chore: Changed case naming for Mac OS App (#349)

This commit is contained in:
vikingnope 2025-05-22 22:41:14 +02:00 committed by GitHub
parent 28b29e19e2
commit be3ec1f158
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,8 +214,13 @@ jobs:
- name: Build macOS app
run: flutter build macos --flavor production --build-number=${{ github.run_number }}
- name: Ensure correct app name casing
run: |
APP_DIR="build/macos/Build/Products/Release-production"
mv "$APP_DIR/fladder.app" "$APP_DIR/Fladder.app"
- name: Create DMG file
run: hdiutil create -format UDZO -srcfolder build/macos/Build/Products/Release-production/fladder.app build/macos/Build/Products/Release-production/macOS.dmg
run: hdiutil create -format UDZO -srcfolder build/macos/Build/Products/Release-production/Fladder.app build/macos/Build/Products/Release-production/macOS.dmg
- name: Archive macOS artifact
uses: actions/upload-artifact@v4.0.0