Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
327a068
Adding release note behaviour
CoderDake Nov 15, 2022
3155fa0
unleash the PR
CoderDake Nov 15, 2022
a53ccea
Fix update version so we start with a dev version when bumping
CoderDake Nov 15, 2022
341b15a
trailing comma
CoderDake Nov 15, 2022
2ed1dfd
remove comments
CoderDake Nov 15, 2022
d814da0
fix lints
CoderDake Nov 15, 2022
54411ea
jsdoc. copyright. remove extra class
CoderDake Nov 16, 2022
88b1d72
Merge remote-tracking branch 'origin/master' into br-squashed-dake
CoderDake Dec 14, 2022
da9c23b
first cleanup
CoderDake Dec 14, 2022
d3a6341
Initial workflow changes for simplified release note process
CoderDake Dec 14, 2022
61b0537
move the template`
CoderDake Dec 14, 2022
edbf288
markdown release note behaviour
CoderDake Dec 15, 2022
faef478
gitkeep and small changes
CoderDake Dec 15, 2022
58f9f41
release note wipe
CoderDake Dec 15, 2022
0918ef6
Merge remote-tracking branch 'origin/master' into simple-release-notes
CoderDake Dec 15, 2022
46c55db
better image dir management.
CoderDake Dec 15, 2022
0634cb3
RN version
CoderDake Dec 15, 2022
aea5d79
better grep
CoderDake Dec 15, 2022
b0a588d
fix description
CoderDake Dec 15, 2022
4921025
making sure we use the repo the PR is in
CoderDake Dec 15, 2022
0ea9dce
oops this is an env var
CoderDake Dec 15, 2022
fed9ecd
update the RN file
CoderDake Dec 15, 2022
4f70111
make sure both api reqs are on the right branch
CoderDake Dec 15, 2022
4bcc3b3
remove validation
CoderDake Dec 15, 2022
18a37da
Single change
CoderDake Dec 15, 2022
5faf4b4
unused import
CoderDake Dec 15, 2022
e264f19
Merge branch 'simple-release-notes' into simple-release-notes-test
CoderDake Dec 15, 2022
41d06fe
an release note change
Dec 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gitkeep and small changes
  • Loading branch information
CoderDake committed Dec 15, 2022
commit faef47815748f22a9c900fdd2f330fd2b0f1a866
37 changes: 37 additions & 0 deletions tool/release_notes/NEXT_RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
This is draft for future release notes, that are going to land on
[the Flutter website](https://docs.flutter.dev/development/tools/devtools/release-notes).

# DevTools <number> release notes

Dart & Flutter DevTools - A Suite of Performance Tools for Dart and Flutter

## General updates
TODO: Remove this section if there are not any general updates.

## Inspector updates
TODO: Remove this section if there are not any general updates.

## Performance updates
TODO: Remove this section if there are not any general updates.

## CPU profiler updates
TODO: Remove this section if there are not any general updates.

## Memory updates
TODO: Remove this section if there are not any general updates.

## Debugger updates
TODO: Remove this section if there are not any general updates.

## Network profiler updates
TODO: Remove this section if there are not any general updates.

## Logging updates
TODO: Remove this section if there are not any general updates.

## App size tool updates
TODO: Remove this section if there are not any general updates.

## Changelog
More details about changes and fixes are available in the DevTools
[changelog](https://github.com/flutter/devtools/blob/master/CHANGELOG.md).
Empty file.
11 changes: 8 additions & 3 deletions tool/update_version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ Future<void> performTheVersionUpdate(

print('Updating CHANGELOG to version $newVersion...');
writeVersionToChangelog(File('CHANGELOG.md'), newVersion);
resetReleaseNotes();
resetReleaseNotes(
version: newVersion,
);

print('Updating index.html to version $newVersion...');
writeVersionToIndexHtml(
Expand All @@ -61,7 +63,9 @@ Future<void> performTheVersionUpdate(
});
}

Future<void> resetReleaseNotes() async {
Future<void> resetReleaseNotes({
required String version,
}) async {
// Clear out the current notes
final imagesDir = Directory('./tool/release_notes/images');
if (imagesDir.existsSync()) {
Expand All @@ -74,8 +78,9 @@ Future<void> resetReleaseNotes() async {
}

final templateFile =
File('./tool/release_notes/helpers/release-notes-template.md');
File('./tool/release_notes/helpers/release_notes_template.md');
templateFile.copy('./tool/release_notes/NEXT_RELEASE_NOTES.md');
// TODO: Replace <number> with new version
}

String? incrementVersionByType(String version, String type) {
Expand Down