kopia lustrzana https://github.com/vilemduha/blendercam
Update create_release.yaml
Previous patch updated var `init_file` to `toml_file` in all instances except one, this updates the remaining init to toml.pull/273/head
rodzic
cfd0639ed5
commit
e5251af583
|
@ -51,7 +51,7 @@ jobs:
|
|||
toml_file=Path("scripts","addons","cam","blender_manifest.toml")
|
||||
toml_text=toml_file.read_text()
|
||||
version_regex= r'version\s=\s"[0-9]+\.[0-9]+\.[0-9]+"'
|
||||
toml_text = re.sub(version_regex,f'version = "{major}.{minor}.{patch}"',init_text)
|
||||
toml_text = re.sub(version_regex,f'version = "{major}.{minor}.{patch}"',toml_text)
|
||||
toml_file.write_text(toml_text)
|
||||
|
||||
env_file = Path(os.getenv('GITHUB_ENV'))
|
||||
|
|
Ładowanie…
Reference in New Issue