Commit 358f9cbe by Dominik Prokop

Ensure clean master only when publishing package to npm

parent b816b4e2
......@@ -94,7 +94,10 @@ const ensureMasterBranch = async () => {
};
const releaseTaskRunner: TaskRunner<ReleaseTaskOptions> = async ({ publishToNpm }) => {
await ensureMasterBranch();
if (publishToNpm) {
await ensureMasterBranch();
}
await execTask(buildTask)();
let releaseConfirmed = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment