From 20f3931cc9b53b55286d1fceb34dfb9ed0a89fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=BCger?= Date: Tue, 8 Jul 2025 20:26:40 +0200 Subject: [PATCH] fix: Restore config.json version update step and revert upload action version --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 261221e..4afe01d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,11 @@ jobs: - name: Install jq run: sudo apt-get update && sudo apt-get install -y jq + - name: Update config.json version to ${{ github.event.release.tag_name }} + run: | + jq --arg v "${{ github.event.release.tag_name }}" '.version = $v' ./config.json > ./config.tmp.json + mv ./config.tmp.json ./config.json + - name: Commit manifest update run: | git config user.name github-actions @@ -39,13 +44,8 @@ jobs: run: | sha256sum AutoExitNode.exe > AutoExitNode.exe.sha256 - - name: Update config.json version to ${{ github.event.release.tag_name }} - run: | - jq --arg v "${{ github.event.release.tag_name }}" '.version = $v' ./config.json > ./config.tmp.json - mv ./config.tmp.json ./config.json - - name: Upload AutoExitNode.exe to release - uses: svenstaro/upload-release-action@2.11.2 + uses: svenstaro/upload-release-action@2.11.1 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./AutoExitNode.exe @@ -54,7 +54,7 @@ jobs: overwrite: true - name: Upload SHA256 file to release - uses: svenstaro/upload-release-action@2.11.2 + uses: svenstaro/upload-release-action@2.11.1 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./AutoExitNode.exe.sha256