fix: update_electron_gyp regex for nightlies
This commit is contained in:
parent
bf465dc233
commit
2a7ec7e051
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,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…
Add table
Add a link
Reference in a new issue