File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- [ 1.0.2] ( ../../releases/tag/v1.0.2 ) - 2023-08-02
3
+ ## [ 1.0.2] ( ../../releases/tag/v1.0.2 ) - 2023-08-02
4
4
5
5
- Added the ` ActorEnvVars ` enum and new tests.
6
6
- Added the ` flake8-simplify ` package and simplified some code.
7
7
8
- [ 1.0.1] ( ../../releases/tag/v1.0.1 ) - 2023-08-01
8
+ ## [ 1.0.1] ( ../../releases/tag/v1.0.1 ) - 2023-08-01
9
9
10
- Added the ` ignore_docs ` decorator to all internal utilities.
10
+ - Added the ` ignore_docs ` decorator to all internal utilities.
11
11
12
- [ 1.0.0] ( ../../releases/tag/v1.0.0 ) - 2023-07-25
12
+ ## [ 1.0.0] ( ../../releases/tag/v1.0.0 ) - 2023-07-25
13
13
14
- Initial release of the package.
14
+ - Initial release of the package.
Original file line number Diff line number Diff line change 16
16
with open (CHANGELOG_PATH , encoding = 'utf-8' ) as changelog_file :
17
17
for line in changelog_file :
18
18
# The heading for the changelog entry for the given version can start with either the version number, or the version number in a link
19
- if re .match (fr'\[?{ current_package_version } ([\] ]|$)' , line ):
19
+ if re .match (fr'(## ) \[?{ current_package_version } ([\] ]|$)' , line ):
20
20
break
21
21
else :
22
22
raise RuntimeError (f'There is no entry in the changelog for the current package version ({ current_package_version } )' )
You can’t perform that action at this time.
0 commit comments