File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ def process_readme_changelog(readme_path, version):
3636 content = f .read ()
3737
3838 # Look for the snapshot section
39- snapshot_pattern = rf'## { re . escape ( version ) } -snapshot \s*\n'
39+ snapshot_pattern = rf'### Snapshot \s*\n'
4040 match = re .search (snapshot_pattern , content )
4141
4242 if not match :
43- print (f"Error: README.md does not contain a '## { version } -snapshot ' section" )
43+ print (f"Error: README.md does not contain a '### Snapshot ' section" )
4444 return False , None
4545
4646 # Find the content of the snapshot section
@@ -64,7 +64,7 @@ def process_readme_changelog(readme_path, version):
6464 with open (readme_path , 'w' ) as f :
6565 f .write (updated_content )
6666
67- print (f"✅ Updated README.md: converted '## { version } -snapshot ' to '## { version } '" )
67+ print (f"✅ Updated README.md: converted '## Snapshot ' to '## { version } '" )
6868 return True , section_content
6969
7070def get_base_version (version ):
Original file line number Diff line number Diff line change @@ -275,7 +275,6 @@ USAGE:
275275 Get the status of async-profiler on a running Java application
276276
277277OPTIONS :
278- -verbose -v, enable verbose output for the plugin
279278 -app-instance-index -i [index], select to which instance of the app to connect
280279 -args -a, Miscellaneous arguments to pass to the command (if supported) in the
281280 container, be aware to end it with a space if it is a simple option. For
@@ -292,6 +291,7 @@ OPTIONS:
292291 defaults to the current directory
293292 -no-download -nd, don't download the heap dump/JFR/... file to local, only keep it in the
294293 container, implies '--keep'
294+ -verbose -v, enable verbose output for the plugin
295295
296296</pre>
297297
You can’t perform that action at this time.
0 commit comments