mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
Remove log
This commit is contained in:
parent
18999df716
commit
b816b4e259
@ -86,7 +86,6 @@ const publishPackage = (name: string, version: string) =>
|
|||||||
const ensureMasterBranch = async () => {
|
const ensureMasterBranch = async () => {
|
||||||
const currentBranch = await execa.stdout('git', ['symbolic-ref', '--short', 'HEAD']);
|
const currentBranch = await execa.stdout('git', ['symbolic-ref', '--short', 'HEAD']);
|
||||||
const status = await execa.stdout('git', ['status', '--porcelain']);
|
const status = await execa.stdout('git', ['status', '--porcelain']);
|
||||||
console.log(status === '');
|
|
||||||
|
|
||||||
if (currentBranch !== 'master' && status !== '') {
|
if (currentBranch !== 'master' && status !== '') {
|
||||||
console.error(chalk.red.bold('You need to be on clean master branch to release @grafana/ui'));
|
console.error(chalk.red.bold('You need to be on clean master branch to release @grafana/ui'));
|
||||||
|
Loading…
Reference in New Issue
Block a user