File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -401,18 +401,18 @@ class AutoUpdateCommand extends Command {
401
401
final type = argResults! ['type' ].toString ();
402
402
final isDryRun = argResults! ['dry-run' ];
403
403
final currentVersion = versionFromPubspecFile ();
404
- bool modifyChangeLog = true ;
404
+ bool modifyChangeLog = false ;
405
405
String ? newVersion;
406
406
if (currentVersion == null ) {
407
407
throw 'Could not automatically determine current version.' ;
408
408
}
409
409
switch (type) {
410
410
case 'release' :
411
411
newVersion = stripPreReleases (currentVersion);
412
+ modifyChangeLog = true ;
412
413
break ;
413
414
case 'dev' :
414
415
newVersion = incrementDevVersion (currentVersion);
415
- modifyChangeLog = false ;
416
416
break ;
417
417
default :
418
418
newVersion = incrementVersionByType (currentVersion, type);
You can’t perform that action at this time.
0 commit comments