chore: make beta bumps work (#14174)
This commit is contained in:
parent
0c0ca57f4b
commit
c2063bc139
2 changed files with 3 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -50,3 +50,5 @@ compile_commands.json
|
|||
# npm package
|
||||
/npm/dist
|
||||
/npm/path.txt
|
||||
|
||||
.npmrc
|
|
@ -342,7 +342,7 @@ def get_next_beta(v):
|
|||
return make_version(pv[0] , pv[1], pv[2], 'beta.1')
|
||||
|
||||
lv = parse_version(tag_list[-1])
|
||||
return make_version(lv[0] , lv[1], lv[2], str(int(lv[3]) + 1))
|
||||
return make_version(pv[0] , pv[1], pv[2], 'beta.' + str(int(lv[3]) + 1))
|
||||
|
||||
def get_next_stable_from_pre(v):
|
||||
pv = clean_parse_version(v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue