fix: update_electron_gyp regex for nightlies
This commit is contained in:
parent
73f2a7dda9
commit
bdc65f2823
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ def increase_version(versions, index):
|
||||||
|
|
||||||
def update_electron_gyp(version, suffix):
|
def update_electron_gyp(version, suffix):
|
||||||
pattern = re.compile(" *'version%' *: *'[0-9.]+(-beta[0-9.]*)?(-dev)?"
|
pattern = re.compile(" *'version%' *: *'[0-9.]+(-beta[0-9.]*)?(-dev)?"
|
||||||
+ "(-nightly[0-9]*)?'")
|
+ "(-nightly[0-9.]*)?'")
|
||||||
with open('electron.gyp', 'r') as f:
|
with open('electron.gyp', 'r') as f:
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue