Skip to content

Commit

Permalink
fix: do not warn about webjar when --skip-webjar (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Limon Monte authored and web-padawan committed Jan 31, 2019
1 parent f32b735 commit 9a9aaae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/magi-release
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ async function main(version) {
if (draft) {
releaseUrl = releaseUrl.replace(/(.*)\/tag\/(.*)/, '$1/edit/$2');
done(`You can modify release notes at: ${releaseUrl}`);
await ask(' Remember to click on `Publish Release`, otherwise webjar will fail.\n Press Enter once you are done with the release notes...');
if (program.skipWebjar) {
await ask(' Press Enter once you are done with the release notes...');
} else {
await ask(' Remember to click on `Publish Release`, otherwise webjar will fail.\n Press Enter once you are done with the release notes...');
}
}

/* Check whether this version is already published in npm */
Expand Down

0 comments on commit 9a9aaae

Please sign in to comment.