Skip to content

Commit

Permalink
ci: get npmrc from secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
laurci committed Aug 30, 2021
1 parent 46a3075 commit cd8bfee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/generator/periodic-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ async function main() {
sh(`KUBERNATE_VERSION="${nextKubernateVersion}" yarn run build`);
fs.writeFileSync("dist/.npmrc", process.env.NPM_RC ?? "");
cd("dist");
sh("cat .npmrc");
sh("npm publish");
sh("npm publish --registry https://registry.npmjs.org");
cd("..");
sh(`yarn run clean`);

Expand Down

0 comments on commit cd8bfee

Please sign in to comment.