From 2ef0c4ee8249464a5a1b191aa04ebc9cf4e64a00 Mon Sep 17 00:00:00 2001 From: BL19 Date: Mon, 29 Jun 2026 23:04:39 +0200 Subject: [PATCH] ci: remove release update path This path was not going to be able to be used regardless as the releases/tags are immutable. --- .github/workflows/release.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65b3ec4..48ebfe5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,17 +76,6 @@ jobs: artifacts/*.snupkg if-no-files-found: error - - name: Create GitHub release - shell: bash - env: - GH_TOKEN: ${{ github.token }} - run: | - if gh release view "$GITHUB_REF_NAME" > /dev/null 2>&1; then - gh release upload "$GITHUB_REF_NAME" artifacts/*.nupkg artifacts/*.snupkg --clobber - else - gh release create "$GITHUB_REF_NAME" artifacts/*.nupkg artifacts/*.snupkg --verify-tag --generate-notes - fi - - name: NuGet login uses: NuGet/login@v1 id: nuget-login @@ -106,3 +95,9 @@ jobs: --source https://api.nuget.org/v3/index.json \ --skip-duplicate done + + - name: Create GitHub release + shell: bash + env: + GH_TOKEN: ${{ github.token }} + run: gh release create "$GITHUB_REF_NAME" artifacts/*.nupkg artifacts/*.snupkg --verify-tag --generate-notes