mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: update_electron_gyp regex for nightlies
This commit is contained in:
committed by
Samuel Attard
parent
bf465dc233
commit
2a7ec7e051
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user