Skip to content

Commit

Permalink
build: change version match for README during updates
Browse files Browse the repository at this point in the history
  • Loading branch information
boidolr committed Feb 20, 2024
1 parent 1f1383f commit 1b3ce12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
original_config = config.read_text()
original_readme = readme.read_text()
updated_config = re.sub(r'"@ast-grep/cli@[^\"]+"', f'"@ast-grep/cli@{version}"', original_config)
updated_readme = re.sub(r'rev: v\d+\.\d+\.\d+', f'rev: {version}', original_readme)
updated_readme = re.sub(r'rev: \d+\.\d+\.\d+', f'rev: {version}', original_readme)
config.write_text(updated_config)
readme.write_text(updated_readme)
Expand Down

0 comments on commit 1b3ce12

Please sign in to comment.