better handling for patch version increments; rm random space
This commit is contained in:
parent
b0ad8a24b6
commit
346b3017bd
@ -59,7 +59,7 @@ version_name = raw_input('Version name > ')
|
||||
# Update src/afch.js
|
||||
|
||||
update_file('src/afch.js',
|
||||
r'AFCH\.consts\.version = [0-9\.]*;','AFCH.consts.version = {};'.format(version))
|
||||
r'AFCH\.consts\.version = .*?;',"AFCH.consts.version = '{}';".format(version))
|
||||
|
||||
update_file('src/afch.js',
|
||||
r'AFCH\.consts\.versionName = .*?;',"AFCH.consts.versionName = '{}';".format(version_name))
|
||||
|
@ -24,8 +24,8 @@
|
||||
AFCH.consts = {};
|
||||
|
||||
// Master version data
|
||||
AFCH.consts.version = 0.8;
|
||||
AFCH.consts.versionName = 'Less is More';
|
||||
AFCH.consts.version = '0.8';
|
||||
AFCH.consts.versionName = 'Wandering Walrus';
|
||||
|
||||
// FIXME: Change when moving into production
|
||||
AFCH.consts.beta = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user