Skip to content

Commit

Permalink
ci: publish to github pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
laurci committed Aug 31, 2021
1 parent 18477da commit 93b9a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generator/periodic-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ async function main() {
cd("dist");
sh("npm publish --registry https://registry.npmjs.org --allow-republish");

let packageJson = JSON.parse(fs.readFileSync("dist/package.json", "utf8"));
let packageJson = JSON.parse(fs.readFileSync("package.json", "utf8"));
packageJson.name = "@laurci/kubernate";
fs.writeFileSync("dist/package.json", JSON.stringify(packageJson, null, 4));
fs.writeFileSync("package.json", JSON.stringify(packageJson, null, 4));
sh("npm publish --registry=https://npm.pkg.github.com --allow-republish");

cd("..");
Expand Down

0 comments on commit 93b9a9d

Please sign in to comment.