Skip to content

Commit

Permalink
Add update language files to app_release script
Browse files Browse the repository at this point in the history
  • Loading branch information
friebetill committed Apr 25, 2022
1 parent b64c877 commit 98871b6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/app_release.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Future<void> main() async {
updateLinuxReleases,
addReleaseNotes,
pushChanges,
updateMasterBranch,
updateMainBranch,
createReleaseTag,

// Prepare local files for builds
Expand Down Expand Up @@ -159,12 +159,12 @@ Future<void> pushChanges({
await waitForEnter();
}

Future<void> updateMasterBranch({
Future<void> updateMainBranch({
required String version,
required String code,
}) async {
print('Switch to the `master` branch and get the latest dev updates:');
print(' git checkout master');
print('Switch to the `main` branch and get the latest dev updates:');
print(' git checkout main');
print(' git pull origin dev');
print(' git push');
await waitForEnter();
Expand All @@ -187,6 +187,8 @@ Future<void> rebuildGeneratedFiles({
print('Update latest packages and rebuild the generated files:');
print(' flutter pub get');
print(' ./scripts/update_generated_files.sh');
print(' ./scripts/update_language_files.sh');

await waitForEnter();
}

Expand Down

0 comments on commit 98871b6

Please sign in to comment.