Skip to content

Commit d2965f9

Browse files
authored
Automatically update the CLI version in the README (#155)
The configuration for pinning a specific version that readers are likely to copy-paste should always suggest using the latest version of the CLI. Closes #138.
1 parent 4981586 commit d2965f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
run: |
2525
echo "${{ github.event.inputs.version }}" > VERSION
2626
sed -i -E "s/VERSION=(.*)/VERSION=\"${{ github.event.inputs.version }}\"/" install.sh
27+
sed -i -E "s/[0-9]+\.[0-9]+\.[0-9]+/${{ github.event.inputs.version }}/g" README.md
2728
2829
- name: Create a release pull request
2930
id: cpr

0 commit comments

Comments
 (0)