Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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