Skip to content

Commit

Permalink
devops: Fix release replacements (#3741)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Oct 24, 2023
1 parent 82f53d2 commit 5f133b3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions prqlc/bindings/js/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,23 @@ search = '''

[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "../../web/playground/package.json"
file = "../../../web/playground/package.json"
replace = '$1"{{version}}"'
search = '( "version": )"(\d+\.\d+\.\d+)"'

[[package.metadata.release.pre-release-replacements]]
exactly = 2
file = "../../web/playground/package-lock.json"
file = "../../../web/playground/package-lock.json"
replace = '$1"{{version}}"'
search = '''
(\s+"prql-playground",
\s+"version": )"[\d\.]+"'''

[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "../../web/playground/package-lock.json"
file = "../../../web/playground/package-lock.json"
replace = '$1"{{version}}"'
search = '''
(".*/prqlc/bindings/js": \{
\s+"name":.*
\s+"version": )"[\d\.]+"'''

0 comments on commit 5f133b3

Please sign in to comment.