Skip to content

Commit

Permalink
[fixed] Docs only release
Browse files Browse the repository at this point in the history
  • Loading branch information
mtscout6 committed Jan 15, 2016
1 parent d14ed1c commit 3d9bbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ function release({ type, preid, npmTagName }) {
}

// documents site
if (!isPrivate && !preid && docsRepo) {
if (!isPrivate && docsRepo && (!preid || argv.onlyDocs)) {
console.log('Releasing: '.cyan + 'documents site'.green);
releaseAdRepo(docsRepo, docsRoot, tmpDocsRepo, vVersion);
console.log('Documents site has been released'.green);
Expand Down

0 comments on commit 3d9bbd3

Please sign in to comment.