Skip to content

Commit

Permalink
build(update-endpoints): remove v prefix from openapi version set i…
Browse files Browse the repository at this point in the history
…n package.json
  • Loading branch information
gr2m committed Dec 1, 2020
1 parent ad9c85d commit ed8cb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-endpoints/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ if (!pkg.octokit) {
pkg.octokit = {};
}

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

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

0 comments on commit ed8cb61

Please sign in to comment.