Skip to content

Commit ed8cb61

Browse files
committed
build(update-endpoints): remove v prefix from openapi version set in package.json
1 parent ad9c85d commit ed8cb61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scripts/update-endpoints/package.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ if (!pkg.octokit) {
1010
pkg.octokit = {};
1111
}
1212

13-
pkg.octokit["openapi-version"] = process.env.VERSION;
13+
pkg.octokit["openapi-version"] = process.env.VERSION.replace(/^v/, "");
1414

1515
writeFileSync("package.json", JSON.stringify(pkg, null, 2) + "\n");

0 commit comments

Comments
 (0)