diff --git a/script/bump-version.py b/script/bump-version.py index 931196e6108d..2e7ad57795bf 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -107,7 +107,8 @@ def increase_version(versions, index): def update_electron_gyp(version, suffix): - pattern = re.compile(" *'version%' *: *'[0-9.]+(-beta[0-9.]*)?(-dev)?(-nightly[0-9]*)?'") + pattern = re.compile(" *'version%' *: *'[0-9.]+(-beta[0-9.]*)?(-dev)?" + + "(-nightly[0-9]*)?'") with open('electron.gyp', 'r') as f: lines = f.readlines()