diff --git a/script/bump-version.py b/script/bump-version.py index 103c8c682a47..564adb211631 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -117,7 +117,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()