From c5ae53bf55421054372bced1a4206ffd9b55a8c8 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Fri, 5 Dec 2025 23:19:31 -0600 Subject: [PATCH] chore: streamline legacy artifact renaming in GitHub Actions workflow - Replaced inline script for renaming legacy artifacts with a dedicated script call to `rename_legacy_artifacts.sh` for improved maintainability and clarity. --- .github/workflows/build.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6fb13e..93b4177 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -221,17 +221,7 @@ jobs: matrix.variant == 'legacy' && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)) - shell: bash - run: | - shopt -s nullglob - for f in dist/*-win-installer.exe dist/*-win-portable.exe dist/*-linux.AppImage dist/*-linux.deb; do - [ -e "$f" ] || continue - dir=$(dirname "$f") - base=$(basename "$f") - ext="${base##*.}" - name="${base%.$ext}" - mv "$f" "$dir/${name}-legacy.${ext}" - done + run: ./scripts/rename_legacy_artifacts.sh - name: Upload build artifacts if: |