Skip to content

Commit

Permalink
Update create_release.yaml
Browse files Browse the repository at this point in the history
Previous patch updated var `init_file` to `toml_file` in all instances except one, this updates the remaining init to toml.
  • Loading branch information
SpectralVectors authored Aug 30, 2024
1 parent cfd0639 commit e5251af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit e5251af

Please sign in to comment.