Skip to content

Commit

Permalink
remove quotes from github output
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jul 10, 2023
1 parent ee112e7 commit 79ad429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ def set_outputs(prefix: str, file_version: Version) -> int:
print('Setting "IS_PRERELEASE" and "VERSION" environment variables for future use')
with open(github_output, 'a') as f:
f.write(f'IS_PRERELEASE={is_prerelease}\n')
f.write(f'VERSION="{file_version}"\n')
f.write(f'VERSION_MAJOR_MINOR="{version_major_minor}"\n')
f.write(f'VERSION={file_version}\n')
f.write(f'VERSION_MAJOR_MINOR={version_major_minor}\n')
else:
print(f'Warning: GITHUB_OUTPUT not set, cannot set environment variables')
return 0
Expand Down

0 comments on commit 79ad429

Please sign in to comment.