kopia lustrzana https://github.com/vilemduha/blendercam
Update create_release.yaml
rodzic
f7bda388bd
commit
47070b4555
|
@ -29,6 +29,9 @@ jobs:
|
|||
v_file=Path("scripts","addons","cam","version.py")
|
||||
version_txt=v_file.read_text()
|
||||
major,minor,patch = re.match(r".*\((\d+),(\d+),(\d+)\)",version_txt).groups()
|
||||
major=int(major)
|
||||
minor=int(minor)
|
||||
patch=int(patch)
|
||||
bump = os.getenv("VERSION_BUMP")
|
||||
if bump == "minor":
|
||||
minor+=1
|
||||
|
|
Ładowanie…
Reference in New Issue