Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
lollipopkit committed Aug 4, 2024
1 parent 64676bc commit aaa69f0
Show file tree
Hide file tree
Showing 21 changed files with 59 additions and 65 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ permissions:
contents: write

jobs:
releaseAL:
name: Release android and linux
releaseAndroid:
name: Release android
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand All @@ -19,7 +19,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.2'
flutter-version: '3.22.3'
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
Expand All @@ -29,7 +29,7 @@ jobs:
curl -u ${{ secrets.BASIC_AUTH }} -o android/app/app.key ${{ secrets.URL_PREFIX }}app.key
curl -u ${{ secrets.BASIC_AUTH }} -o android/key.properties ${{ secrets.URL_PREFIX }}key.properties
- name: Build
run: dart run fl_build -p android,linux
run: dart run fl_build -p android
- name: Rename for fdroid
run: |
mv build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_arm64.apk build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm64.apk
Expand All @@ -42,6 +42,24 @@ jobs:
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm64.apk
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm.apk
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_amd64.apk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

releaseLinux:
name: Release linux
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Build
run: |
dart run fl_build -p linux
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: |
${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_amd64.AppImage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
36 changes: 18 additions & 18 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 1049;
CURRENT_PROJECT_VERSION = 1051;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
Expand All @@ -700,7 +700,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1049;
MARKETING_VERSION = 1.0.1051;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down Expand Up @@ -826,7 +826,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 1049;
CURRENT_PROJECT_VERSION = 1051;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
Expand All @@ -836,7 +836,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1049;
MARKETING_VERSION = 1.0.1051;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand All @@ -854,7 +854,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 1049;
CURRENT_PROJECT_VERSION = 1051;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
Expand All @@ -864,7 +864,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1049;
MARKETING_VERSION = 1.0.1051;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand All @@ -885,7 +885,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1049;
CURRENT_PROJECT_VERSION = 1051;
DEVELOPMENT_TEAM = BA88US33G6;
GCC_C_LANGUAGE_STANDARD = gnu11;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -898,7 +898,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0.1049;
MARKETING_VERSION = 1.0.1051;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
Expand All @@ -924,7 +924,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1049;
CURRENT_PROJECT_VERSION = 1051;
DEVELOPMENT_TEAM = BA88US33G6;
GCC_C_LANGUAGE_STANDARD = gnu11;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -937,7 +937,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0.1049;
MARKETING_VERSION = 1.0.1051;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -960,7 +960,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1049;
CURRENT_PROJECT_VERSION = 1051;
DEVELOPMENT_TEAM = BA88US33G6;
GCC_C_LANGUAGE_STANDARD = gnu11;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -973,7 +973,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0.1049;
MARKETING_VERSION = 1.0.1051;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -996,7 +996,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1049;
CURRENT_PROJECT_VERSION = 1051;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_PREVIEWS = YES;
Expand All @@ -1008,7 +1008,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1049;
MARKETING_VERSION = 1.0.1051;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
Expand Down Expand Up @@ -1037,7 +1037,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1049;
CURRENT_PROJECT_VERSION = 1051;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_PREVIEWS = YES;
Expand All @@ -1049,7 +1049,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1049;
MARKETING_VERSION = 1.0.1051;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
PRODUCT_NAME = ServerBox;
Expand All @@ -1075,7 +1075,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1049;
CURRENT_PROJECT_VERSION = 1051;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_PREVIEWS = YES;
Expand All @@ -1087,7 +1087,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1049;
MARKETING_VERSION = 1.0.1051;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
PRODUCT_NAME = ServerBox;
Expand Down
2 changes: 1 addition & 1 deletion lib/data/res/build_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

class BuildData {
static const String name = "ServerBox";
static const int build = 1049;
static const int build = 1051;
static const int script = 56;
}
2 changes: 1 addition & 1 deletion lib/intro.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ final class _IntroPage extends StatelessWidget {
).cardx,
ListTile(
leading: const Icon(Icons.update),
title: Text(l10n.autoCheckUpdate),
title: Text(libL10n.autoCheckUpdate),
subtitle: Text(l10n.fdroidReleaseTip, style: UIs.textGrey),
trailing: StoreSwitch(prop: _setting.autoCheckAppUpdate),
).cardx,
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "Adresse",
"alreadyLastDir": "Bereits im letzten Verzeichnis.",
"authFailTip": "Authentifizierung fehlgeschlagen, bitte überprüfen Sie, ob das Passwort/Schlüssel/Host/Benutzer usw. falsch sind.",
"auto": "System folgen",
"autoBackupConflict": "Es kann nur eine automatische Sicherung gleichzeitig aktiviert werden.",
"autoCheckUpdate": "Aktualisierung automatisch prüfen",
"autoConnect": "Automatisch verbinden",
"autoRun": "Automatischer Start",
"autoUpdateHomeWidget": "Home-Widget automatisch aktualisieren",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "Address",
"alreadyLastDir": "Already in last directory.",
"authFailTip": "Authentication failed, please check whether credentials are correct",
"auto": "Auto",
"autoBackupConflict": "Only one automatic backup can be turned on at the same time.",
"autoCheckUpdate": "Automatic update check",
"autoConnect": "Auto connect",
"autoRun": "Auto run",
"autoUpdateHomeWidget": "Automatic home widget update",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "Dirección",
"alreadyLastDir": "Ya estás en el directorio superior",
"authFailTip": "La autenticación ha fallado, por favor verifica si la contraseña/llave/host/usuario, etc., son incorrectos.",
"auto": "Automático",
"autoBackupConflict": "Solo se puede activar una copia de seguridad automática a la vez",
"autoCheckUpdate": "Verificación automática de actualizaciones",
"autoConnect": "Conexión automática",
"autoRun": "Ejecución automática",
"autoUpdateHomeWidget": "Actualizar automáticamente el widget del escritorio",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "Adresse",
"alreadyLastDir": "Déjà dans le dernier répertoire.",
"authFailTip": "Échec de l'authentification. Veuillez vérifier si le mot de passe/clé/hôte/utilisateur, etc., est incorrect.",
"auto": "Automatique",
"autoBackupConflict": "Un seul sauvegarde automatique peut être activé en même temps.",
"autoCheckUpdate": "Vérification automatique des mises à jour",
"autoConnect": "Connexion automatique",
"autoRun": "Exécution automatique",
"autoUpdateHomeWidget": "Mise à jour automatique du widget d'accueil",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_id.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "Alamat",
"alreadyLastDir": "Sudah di direktori terakhir.",
"authFailTip": "Otentikasi gagal, silakan periksa apakah kata sandi/kunci/host/pengguna, dll, salah.",
"auto": "Auto",
"autoBackupConflict": "Hanya satu pencadangan otomatis yang dapat diaktifkan pada saat yang bersamaan.",
"autoCheckUpdate": "Periksa pembaruan otomatis",
"autoConnect": "Hubungkan otomatis",
"autoRun": "Berjalan Otomatis",
"autoUpdateHomeWidget": "Widget Rumah Pembaruan Otomatis",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_ja.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "アドレス",
"alreadyLastDir": "すでに最上位のディレクトリです",
"authFailTip": "認証に失敗しました。パスワード/鍵/ホスト/ユーザーなどが間違っていないか確認してください。",
"auto": "自動",
"autoBackupConflict": "自動バックアップは一度に一つしか開始できません",
"autoCheckUpdate": "自動的に更新をチェック",
"autoConnect": "自動接続",
"autoRun": "自動実行",
"autoUpdateHomeWidget": "ホームウィジェットを自動更新",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_nl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "Adres",
"alreadyLastDir": "Al in de laatst gebruikte map.",
"authFailTip": "Authenticatie mislukt, controleer of het wachtwoord/sleutel/host/gebruiker, enz., incorrect zijn.",
"auto": "Auto",
"autoBackupConflict": "Er kan slechts één automatische back-up tegelijk worden ingeschakeld.",
"autoCheckUpdate": "Automatisch controleren op update",
"autoConnect": "Automatisch verbinden",
"autoRun": "Automatisch uitvoeren",
"autoUpdateHomeWidget": "Automatische update van home-widget",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_pt.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "Endereço",
"alreadyLastDir": "Já é o diretório mais alto",
"authFailTip": "Autenticação falhou, por favor verifique se a senha/chave/host/usuário, etc., estão incorretos.",
"auto": "Automático",
"autoBackupConflict": "Apenas um backup automático pode ser ativado por vez",
"autoCheckUpdate": "Verificação automática de atualização",
"autoConnect": "Conexão automática",
"autoRun": "Execução automática",
"autoUpdateHomeWidget": "Atualização automática do widget da tela inicial",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_ru.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "Адрес",
"alreadyLastDir": "Уже в корневом каталоге",
"authFailTip": "Аутентификация не удалась, пожалуйста, проверьте, правильны ли пароль/ключ/хост/пользователь и т.д.",
"auto": "авто",
"autoBackupConflict": "Может быть включено только одно автоматическое резервное копирование",
"autoCheckUpdate": "автоматическая проверка обновлений",
"autoConnect": "автоматическое подключение",
"autoRun": "автозапуск",
"autoUpdateHomeWidget": "автоматическое обновление виджета на главном экране",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_tr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "Adres",
"alreadyLastDir": "Zaten son klasörde.",
"authFailTip": "Kimlik doğrulama başarısız, kimlik bilgilerinin doğru olup olmadığını kontrol edin",
"auto": "Otomatik",
"autoBackupConflict": "Aynı anda yalnızca bir otomatik yedekleme etkinleştirilebilir.",
"autoCheckUpdate": "Otomatik güncelleme kontrolü",
"autoConnect": "Otomatik bağlan",
"autoRun": "Otomatik çalıştır",
"autoUpdateHomeWidget": "Ana widget'ı otomatik güncelle",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_zh.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "地址",
"alreadyLastDir": "已经是最上层目录了",
"authFailTip": "认证失败,请检查密码/密钥/主机/用户等是否错误",
"auto": "自动",
"autoBackupConflict": "只能同时开启一个自动备份",
"autoCheckUpdate": "自动检查更新",
"autoConnect": "自动连接",
"autoRun": "自动运行",
"autoUpdateHomeWidget": "自动更新桌面小部件",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_zh_tw.arb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"addr": "位址",
"alreadyLastDir": "已經是最上層目錄了",
"authFailTip": "認證失敗,請檢查密碼/密鑰/主機/用戶等是否錯誤。",
"auto": "自動",
"autoBackupConflict": "只能同時開啓一個自動備份",
"autoCheckUpdate": "自動檢查更新",
"autoConnect": "自動連接",
"autoRun": "自動運行",
"autoUpdateHomeWidget": "自動更新桌面小部件",
Expand Down
2 changes: 1 addition & 1 deletion lib/view/page/backup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class BackupPage extends StatelessWidget {
onTap: () async => _onTapWebdavSetting(context),
),
ListTile(
title: Text(l10n.auto),
title: Text(libL10n.auto),
trailing: StoreSwitch(
prop: Stores.setting.webdavSync,
validator: (p0) {
Expand Down
6 changes: 3 additions & 3 deletions lib/view/page/setting/entry.dart
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class _SettingPageState extends State<SettingPage> {
Widget _buildCheckUpdate() {
return ListTile(
leading: const Icon(Icons.update),
title: Text(l10n.autoCheckUpdate),
title: Text(libL10n.autoCheckUpdate),
subtitle: ValBuilder(
listenable: AppUpdateIface.newestBuild,
builder: (val) {
Expand Down Expand Up @@ -383,9 +383,9 @@ class _SettingPageState extends State<SettingPage> {
case 3:
return 'AMOLED';
case 4:
return '${l10n.auto} AMOLED';
return '${libL10n.auto} AMOLED';
default:
return l10n.auto;
return libL10n.auto;
}
}

Expand Down
Loading

0 comments on commit aaa69f0

Please sign in to comment.