From bdc65f2823b22bfa5ecba2ee237093fb3457f1eb Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Fri, 17 Aug 2018 14:35:58 -0700 Subject: [PATCH] fix: update_electron_gyp regex for nightlies --- script/bump-version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bump-version.py b/script/bump-version.py index 7b3a2f2c0801..f1a86279e352 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -116,7 +116,7 @@ def increase_version(versions, index): def update_electron_gyp(version, suffix): pattern = re.compile(" *'version%' *: *'[0-9.]+(-beta[0-9.]*)?(-dev)?" - + "(-nightly[0-9]*)?'") + + "(-nightly[0-9.]*)?'") with open('electron.gyp', 'r') as f: lines = f.readlines()