Skip to content

Commit

Permalink
add https
Browse files Browse the repository at this point in the history
  • Loading branch information
OrbintSoft committed Aug 14, 2022
1 parent 11953e6 commit e707014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ async function publish() {
if (deployedVersion.prerelease[0] === 'rc' || currentVersion.prerelease[0] === 'rc') {
const npmToken = process.env.NPM_TOKEN;
await executeProcess('npm', [ 'pack' ]);
await executeProcess('npm', [ 'adduser', '--registry', `http://registry.npmjs.org/:_authToken=${npmToken}`]);
await executeProcess('npm', [ 'publish', '--registry', `http://registry.npmjs.org/:_authToken=${npmToken}`]);
await executeProcess('npm', [ 'adduser', '--registry', `https://registry.npmjs.org/:_authToken=${npmToken}`]);
await executeProcess('npm', [ 'publish', '--registry', `https://registry.npmjs.org/:_authToken=${npmToken}`]);
} else {
throw Error('Before releasing a stable version, an rc must be published and manually tested.');
}
Expand Down

0 comments on commit e707014

Please sign in to comment.