fix: use GITHUB_OUTPUT file in bump step too

This commit is contained in:
Jarian Cottingham 2026-07-07 20:05:33 +00:00
parent 7fbb84dce2
commit 3fc5b2d58f

View File

@ -64,8 +64,8 @@ jobs:
full = f\"{v['major']}.{v['minor']}.{patch_padded}\" full = f\"{v['major']}.{v['minor']}.{patch_padded}\"
with open('version.json', 'w') as f: with open('version.json', 'w') as f:
json.dump(v, f, indent=2) json.dump(v, f, indent=2)
print(f'version={full}') with open('$GITHUB_OUTPUT', 'a') as out:
print(f'::set-output name=release_version::{full}') out.write(f'release_version={full}\n')
print(f'Bumped to {full}') print(f'Bumped to {full}')
" "