Skip to content

Commit 93e3d68

Browse files
committed
fix: update PowerShell version pattern in install docs (#2703)
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
1 parent ab1f738 commit 93e3d68

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/release/update_version.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,14 @@ export async function updateVersion(opts: ReleaseOpts) {
3333
},
3434
{
3535
path: "site/src/content/docs/install.mdx",
36-
find: /RIVET_CLI_VERSION=v\d+\.\d+\.\d+/g,
36+
find: /RIVET_CLI_VERSION\s*=\s*"?v\d+\.\d+\.\d+"?/g,
3737
replace: `RIVET_CLI_VERSION=v${opts.version}`,
3838
},
39+
{
40+
path: "site/src/content/docs/install.mdx",
41+
find: /\$env:RIVET_CLI_VERSION\s*=\s*"v\d+\.\d+\.\d+"/g,
42+
replace: `$env:RIVET_CLI_VERSION = "v${opts.version}"`,
43+
},
3944
];
4045

4146
// Substitute all files

0 commit comments

Comments
 (0)