Use a more restrictive sed pattern
This commit is contained in:
parent
9d26fe0cb3
commit
bed132dae4
1 changed files with 1 additions and 1 deletions
2
.github/update-release-branch.py
vendored
2
.github/update-release-branch.py
vendored
|
|
@ -277,7 +277,7 @@ def main():
|
|||
|
||||
# Migrate the changelog notes from v2 version numbers to v1 version numbers
|
||||
print('Migrating changelog notes from v2 to v1')
|
||||
subprocess.run(['sed', '-i', 's/## 2\./## 1\./g', 'CHANGELOG.md'])
|
||||
subprocess.run(['sed', '-i', 's/^## 2\./## 1./g', 'CHANGELOG.md'])
|
||||
|
||||
# Amend the commit generated by `npm version` to update the CHANGELOG
|
||||
run_git('add', 'CHANGELOG.md')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue