Skip to content

Commit f1ccf9d

Browse files
committed
fix rdme version
1 parent 0aa8034 commit f1ccf9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openapi/publish.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ async function updateSpecs() {
8080

8181
// validate and publish spec
8282
console.log(`Updating ${spec.info.title} (${specFile}`);
83-
await execAndLog('npx', ['rdme', 'openapi:validate', fullPath]);
83+
await execAndLog('npx', ['rdme@10.5.1', 'openapi:validate', fullPath]);
8484
// this converts the file to json, since it does this step directly in readme anyway
8585
await execAndLog(
86-
'npx', ['rdme', 'openapi', 'convert', fullPath, `--out=${convertSlugToJson(fullPath)}`], {env}
86+
'npx', ['rdme@10.5.1', 'openapi', 'convert', fullPath, `--out=${convertSlugToJson(fullPath)}`], {env}
8787
);
8888
// publish the json version
8989
await execAndLog(
9090
'npx', [
91-
'rdme',
91+
'rdme@10.5.1',
9292
'openapi',
9393
'upload',
9494
`${convertSlugToJson(fullPath)}`,

0 commit comments

Comments
 (0)