Skip to content

Commit

Permalink
ci: fix pre-release string updater regex
Browse files Browse the repository at this point in the history
  • Loading branch information
sdd committed Dec 15, 2024
1 parent 7748c26 commit d032ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-release-string-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
- name: Find and Replace 1/3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "^kiddo = \".*\"$"
find: "kiddo = \".*\""
include: "README.md"
replace: ${{ format('kiddo = "{0}"', steps.crate-version.outputs.version) }}

- name: Find and Replace 2/3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "^//! kiddo = \".*\"$"
find: "//! kiddo = \".*\""
include: "src/lib.rs"
replace: ${{ format('kiddo = "{0}"', steps.crate-version.outputs.version) }}

Expand Down

0 comments on commit d032ca5

Please sign in to comment.