diff --git a/.gitignore b/.gitignore index 665fb6fa1044..f393b1cdcef8 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,5 @@ compile_commands.json # npm package /npm/dist /npm/path.txt + +.npmrc \ No newline at end of file diff --git a/script/lib/util.py b/script/lib/util.py index cdd05686546a..1fc2b813e7c9 100644 --- a/script/lib/util.py +++ b/script/lib/util.py @@ -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)