@@ -28,26 +28,22 @@ export async function updateVersion(opts: ReleaseOpts) {
28
28
find : / " v e r s i o n " : " .* " / ,
29
29
replace : `"version": "${ opts . version } "` ,
30
30
} ,
31
- {
32
- path : "sdks/api/fern/definition/api.yml" ,
33
- find : / v e r s i o n : \n \s \s h e a d e r : " X - A P I - V e r s i o n " \n \s \s d e f a u l t : " .* " \n \s \s v a l u e s : \[ " .* " \] / ,
34
- replace : `version:\n header: "X-API-Version"\n default: "${ opts . version } "\n values: ["${ opts . version } "]` ,
35
- } ,
36
- {
37
- path : "site/src/content/docs/cloud/install.mdx" ,
38
- find : / r i v e t - c l i @ .* / g,
39
- replace : `rivet-cli@${ opts . version } ` ,
40
- } ,
41
- {
42
- path : "site/src/content/docs/cloud/install.mdx" ,
43
- find : / R I V E T _ C L I _ V E R S I O N = .* / g,
44
- replace : `RIVET_CLI_VERSION=${ opts . version } ` ,
45
- } ,
46
- {
47
- path : "site/src/content/docs/cloud/install.mdx" ,
48
- find : / \$ e n v : R I V E T _ C L I _ V E R S I O N = " .* " / g,
49
- replace : `$env:RIVET_CLI_VERSION = "${ opts . version } "` ,
50
- } ,
31
+ // TODO: Update docs with pinned version
32
+ // {
33
+ // path: "site/src/content/docs/cloud/install.mdx",
34
+ // find: /rivet-cli@.*/g,
35
+ // replace: `rivet-cli@${opts.version}`,
36
+ // },
37
+ // {
38
+ // path: "site/src/content/docs/cloud/install.mdx",
39
+ // find: /RIVET_CLI_VERSION=.*/g,
40
+ // replace: `RIVET_CLI_VERSION=${opts.version}`,
41
+ // },
42
+ // {
43
+ // path: "site/src/content/docs/cloud/install.mdx",
44
+ // find: /\$env:RIVET_CLI_VERSION = ".*"/g,
45
+ // replace: `$env:RIVET_CLI_VERSION = "${opts.version}"`,
46
+ // },
51
47
] ;
52
48
53
49
// Substitute all files
0 commit comments