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
SpectralVectors 2024-08-30 12:45:03 -04:00 zatwierdzone przez GitHub
rodzic cfd0639ed5
commit e5251af583
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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'))