Skip to content

Commit

Permalink
Merge pull request #932 from ProvableHQ/fix/change-version
Browse files Browse the repository at this point in the history
Fixing bug with change-version script
  • Loading branch information
jaketarnow authored Sep 26, 2024
2 parents b27990f + c81f4bf commit 667813e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/change-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ async function updateDependency(path, newVersion) {

const replaced = json
.replace(/"@provablehq\/sdk": *"[^"]+"/g, `"@provablehq/sdk": "^${newVersion}"`)
.replace(/"@provablehq\/wasm": *"[^"]+"/g, `"@provablehq/wasm": "^${newVersion}"`)
.replace(/"create-leo-app": *"[^"]+"/g, `"create-leo-app": "^${newVersion}"`);
.replace(/"@provablehq\/wasm": *"[^"]+"/g, `"@provablehq/wasm": "^${newVersion}"`);

await writeFile(path, replaced);
}
Expand Down

0 comments on commit 667813e

Please sign in to comment.