From 06cbe03a1586479bd1bd908469306a1a225ef3a0 Mon Sep 17 00:00:00 2001 From: Patryk Ciechanski Date: Thu, 12 Jun 2025 14:42:49 +0200 Subject: [PATCH] fix: Remove deprecated set-output command from version bump script Removed deprecated ::set-output command that caused GitHub Actions to fail during automated version bumping. The workflow failed trying to create tag v4.0.8 instead of v4.0.9 because the deprecated command interfered with proper version output capture. The workflow already uses the correct modern method: NEW_VERSION=$(python -c "from config import __version__; print(__version__)") echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT This fixes the auto-version workflow failure from PR #13. --- scripts/bump_version.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/bump_version.py b/scripts/bump_version.py index 3072ecb..57e34ad 100755 --- a/scripts/bump_version.py +++ b/scripts/bump_version.py @@ -104,7 +104,6 @@ def main(): # Output new version for GitHub Actions print(f"New version: {new_version}") - print(f"::set-output name=version::{new_version}") except Exception as e: print(f"Error: {e}")