Skip to content

Commit

Permalink
Fix release-helper Windows issues (#6684)
Browse files Browse the repository at this point in the history
- Fix a Windows issue caused by trying to run `devtools_tool` without `.bat`
- ~~Fix handling of arguments to git for commit message (#6679

Edit: Removed the non-Windows parts because they're being handled in #6685
  • Loading branch information
DanTup authored Nov 9, 2023
1 parent f165da2 commit 3674ca5
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions tool/lib/commands/release_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,11 @@ class ReleaseHelperCommand extends Command {
);

print("Setting the release version.");
await processManager.runProcess(
CliCommand.from('devtools_tool', [
'update-version',
'auto',
'--type',
'release',
]),
);
await processManager
.runProcess(CliCommand.tool('update-version auto --type release'));

final getNewVersionResult = await processManager.runProcess(
CliCommand.from('devtools_tool', [
'update-version',
'current-version',
]),
CliCommand.tool('update-version current-version'),
);

final newVersion = getNewVersionResult;
Expand Down

0 comments on commit 3674ca5

Please sign in to comment.