Skip to content

Commit 2925b9a

Browse files
committed
Improve release action
1 parent 29428c8 commit 2925b9a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/update_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def process_readme_changelog(readme_path, version):
4747
start_pos = match.end()
4848

4949
# Find the next ## section or end of file
50-
next_section_pattern = r'\n## '
50+
next_section_pattern = r'\n##(#?) '
5151
next_match = re.search(next_section_pattern, content[start_pos:])
5252

5353
if next_match:

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,13 @@ USAGE:
275275
Get the status of async-profiler on a running Java application
276276

277277
OPTIONS:
278+
-app-instance-index -i [index], select to which instance of the app to connect
279+
-args -a, Miscellaneous arguments to pass to the command (if supported) in the
280+
container, be aware to end it with a space if it is a simple option. For
281+
commands that create arbitrary files (jcmd, asprof), the environment
282+
variables @FSPATH, @ARGS, @APP_NAME, @FILE_NAME, and @STATIC_FILE_NAME are
283+
available in --args to reference the working directory path, arguments,
284+
application name, and generated file name respectively.
278285
-container-dir -cd, the directory path in the container that the heap dump/JFR/... file will be
279286
saved to
280287
-dry-run -n, just output to command line what would be executed
@@ -285,13 +292,6 @@ OPTIONS:
285292
-no-download -nd, don't download the heap dump/JFR/... file to local, only keep it in the
286293
container, implies '--keep'
287294
-verbose -v, enable verbose output for the plugin
288-
-app-instance-index -i [index], select to which instance of the app to connect
289-
-args -a, Miscellaneous arguments to pass to the command (if supported) in the
290-
container, be aware to end it with a space if it is a simple option. For
291-
commands that create arbitrary files (jcmd, asprof), the environment
292-
variables @FSPATH, @ARGS, @APP_NAME, @FILE_NAME, and @STATIC_FILE_NAME are
293-
available in --args to reference the working directory path, arguments,
294-
application name, and generated file name respectively.
295295

296296
</pre>
297297

0 commit comments

Comments
 (0)