Skip to content

Commit

Permalink
Automatically update the CLI version in the README (#155)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pietern authored Feb 12, 2025
1 parent 4981586 commit d2965f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: |
echo "${{ github.event.inputs.version }}" > VERSION
sed -i -E "s/VERSION=(.*)/VERSION=\"${{ github.event.inputs.version }}\"/" install.sh
sed -i -E "s/[0-9]+\.[0-9]+\.[0-9]+/${{ github.event.inputs.version }}/g" README.md
- name: Create a release pull request
id: cpr
Expand Down

0 comments on commit d2965f9

Please sign in to comment.