Fix Snapcraft

This commit is contained in:
Hillel Coren 2023-12-07 18:41:06 +02:00
parent a2a5e5938c
commit 960e668e4e
1 changed files with 2 additions and 2 deletions

View File

@ -26,10 +26,10 @@ workflows:
echo "const FLUTTER_VERSION = const <String, String>" > $FCI_BUILD_DIR/lib/flutter_version.dart
flutter --version --machine >> $FCI_BUILD_DIR/lib/flutter_version.dart
echo ";" >> $FCI_BUILD_DIR/lib/flutter_version.dart
- cat $FCI_BUILD_DIR/lib/flutter_version.dart
#- cat $FCI_BUILD_DIR/lib/flutter_version.dart
- cd . && flutter packages pub get
- flutter config --enable-linux-desktop
- flutter build linux --release
#- flutter build linux --release
#- export SNAPCRAFT_STORE_CREDENTIALS=$(echo $SNAPCRAFT_LOGIN_CREDENTIALS)
- snapcraft whoami
- snapcraft snap --output invoiceninja.snap