Skip to content

Commit

Permalink
Update build file casing
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbengtsson committed Jun 27, 2024
1 parent 977d52c commit 2e14e64
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tools/linux_submitter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SnapStoreSubmitter {
runVmCommand(
'cd "$repoPath" && export SNAPCRAFT_STORE_CREDENTIALS=${Config.snapcraftLoginCredentials} && snapcraft upload --release=stable build/app.snap');
var vmSnapPath = '$repoPath/build/app.snap';
var localSnapPath = '${Config.localRepoPath}/build/AirDash.snap';
var localSnapPath = '${Config.localRepoPath}/build/airdash.snap';
linuxVmHelper.fetchVmFile(vmSnapPath, localSnapPath);
});
}
Expand Down
4 changes: 2 additions & 2 deletions tools/microsoft_store_submitter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class MicrosoftStoreSubmitter {
package['fileStatus'] = 'PendingDelete';
}
applicationPackages.add(<String, String>{
'fileName': 'AirDash.msix',
'fileName': 'airdash.msix',
'fileStatus': 'PendingUpload',
'version': '${version.join('.')}.0',
});
Expand All @@ -117,7 +117,7 @@ class MicrosoftStoreSubmitter {
String submissionId, String url, List<int> version) async {
var zipFile = File('build/upload.zip');
runLocalCommand(
'zip ${zipFile.path} ${Config.localRepoPath}/build/AirDash.msix -j');
'zip ${zipFile.path} ${Config.localRepoPath}/build/airdash.msix -j');
var msixBytes = await zipFile.readAsBytes();

var headers = {
Expand Down
10 changes: 5 additions & 5 deletions tools/scripts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ release() async {
runLocalCommand(
'fastlane run build_mac_app export_team_id:"${Config.appStoreTeamId}" workspace:macos/Runner.xcworkspace output_directory:build');
runLocalCommand(
'xcrun altool --upload-app --type macos -f build/AirDash.pkg --apiKey ${Config.appStoreConnectApiKeyName} --apiIssuer ${Config.appStoreConnectIssuerId}');
'xcrun altool --upload-app --type macos -f build/airdash.pkg --apiKey ${Config.appStoreConnectApiKeyName} --apiIssuer ${Config.appStoreConnectIssuerId}');

runLocalCommand('flutter build ipa');
runLocalCommand(
Expand All @@ -67,7 +67,7 @@ release() async {
runLocalCommand('flutter build appbundle');
runLocalCommand('flutter build apk');
runLocalCommand(
'cp build/app/outputs/flutter-apk/app-release.apk build/AirDash.apk');
'cp build/app/outputs/flutter-apk/app-release.apk build/airdash.apk');
runLocalCommand(
'fastlane upload_to_play_store --aab ${Config.localAabPath} --package_name io.flown.airdash --json_key ${Config.googlePlayKeyPath}');

Expand All @@ -77,11 +77,11 @@ release() async {
await MicrosoftStoreSubmitter().submit();

//await SnapStoreSubmitter().buildAndSubmit();
runLocalCommand('npx appdmg appdmg.json ./build/AirDash.dmg');
runLocalCommand('npx appdmg appdmg.json ./build/airdash.dmg');
runLocalCommand(
'gh release create v${version.join('.')} build/AirDash.dmg build/AirDash.apk --notes "See what\'s new in the [release notes](https://github.com/simonbengtsson/airdash/blob/master/CHANGELOG.md). Some distribution files are included as assets in this release, but the update will soon be available in all supported app stores."');
'gh release create v${version.join('.')} build/airdash.dmg build/airdash.apk --notes "See what\'s new in the [release notes](https://github.com/simonbengtsson/airdash/blob/master/CHANGELOG.md). Some distribution files are included as assets in this release, but the update will soon be available in all supported app stores."');
// runLocalCommand(
// 'gh release create v${version.join('.')} build/AirDash.snap build/AirDash.msix build/AirDash.apk --notes "See what\'s new in the [release notes](https://github.com/simonbengtsson/airdash/blob/master/CHANGELOG.md). Some distribution files are included as assets in this release, but the update will soon be available in all supported app stores."');
// 'gh release create v${version.join('.')} build/airdash.snap build/airdash.msix build/airdash.apk --notes "See what\'s new in the [release notes](https://github.com/simonbengtsson/airdash/blob/master/CHANGELOG.md). Some distribution files are included as assets in this release, but the update will soon be available in all supported app stores."');

var endedAt = DateTime.now();
var endedAtTimeStr = endedAt.toIso8601String().substring(11, 19);
Expand Down
2 changes: 1 addition & 1 deletion tools/tools_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Config {
static final windowsVmRepoPath = _env('WINDOWS_VM_REPO_PATH');
static final windowsVmOutputPath = '$windowsVmRepoPath\\build\\stdout.txt';
static final windowsVmMsixPath =
'$windowsVmRepoPath\\build\\windows\\runner\\Release\\AirDash.msix';
'$windowsVmRepoPath\\build\\windows\\runner\\Release\\airdash.msix';

static final localWindowsVmPath = _env('WINDOWS_VM_PATH');
static final localStdoutPath = '$localRepoPath/build/stdout.txt';
Expand Down
2 changes: 1 addition & 1 deletion tools/windows_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class WindowsAppBuilder {
runWinCommand('cd "$repoPath" && git reset --hard && git pull -r');
runWinCommand('cd "$repoPath" && flutter pub get');
runWinCommand('cd "$repoPath" && flutter pub run msix:create');
var localMsixPath = '${Config.localRepoPath}/build/AirDash.msix';
var localMsixPath = '${Config.localRepoPath}/build/airdash.msix';
fetchWindowsFile(Config.windowsVmMsixPath, localMsixPath);
});
}
Expand Down

0 comments on commit 2e14e64

Please sign in to comment.