mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 17:06:57 -06:00
Ensure clean master only when publishing package to npm
This commit is contained in:
parent
b816b4e259
commit
358f9cbeae
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user