Skip to content

Commit

Permalink
chore: change npm login check to correct account (angular#11645)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn authored Feb 21, 2019
1 parent f0280a8 commit 77f4c04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@

/** confirms that you will be able to perform the release before attempting */
function validate () {
if (exec('npm whoami') !== 'angularcore') {
err('You must be authenticated with npm as "angularcore" to perform a release.');
if (exec('npm whoami') !== 'angular') {
err('You must be authenticated with npm as "angular" to perform a release.');
} else if (exec('git rev-parse --abbrev-ref HEAD') !== 'staging') {
err('Releases can only performed from "staging" at this time.');
} else {
Expand Down

0 comments on commit 77f4c04

Please sign in to comment.