[meld] Update branch name check to reflect main move
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Update branch name check to reflect main move
- Date: Mon, 5 Sep 2022 21:56:13 +0000 (UTC)
commit 78d1b17a453441e48b41cbbbe3be202ea691d753
Author: Kai Willadsen <kai willadsen gmail com>
Date: Tue Sep 6 07:51:34 2022 +1000
Update branch name check to reflect main move
maint | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/maint b/maint
index b12edd86..f44161f3 100755
--- a/maint
+++ b/maint
@@ -264,7 +264,7 @@ def call_with_output(
def check_release_branch():
cmd = ['git', 'rev-parse', '--abbrev-ref', 'HEAD']
branch = subprocess.check_output(cmd).strip().decode('utf-8')
- if branch != 'master' and not re.match(RELEASE_BRANCH_RE, branch):
+ if branch != 'main' and not re.match(RELEASE_BRANCH_RE, branch):
click.echo(
'\nBranch "%s" doesn\'t appear to be a release branch.\n' % branch)
click.confirm('Are you sure you wish to continue?', abort=True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]