fix: update_electron_gyp regex for nightlies

This commit is contained in:
Shelley Vohr 2018-08-17 14:35:58 -07:00 committed by Samuel Attard
parent bf465dc233
commit 2a7ec7e051

View file

@ -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()