From 001b87c0c8ef3ae884cc97c179f2631e8dfbb7de Mon Sep 17 00:00:00 2001 From: dal Date: Fri, 26 Sep 2025 16:06:55 -0600 Subject: [PATCH] always release --- .github/workflows/cli-release.yml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index 703d5cae0..d61876b1f 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -179,22 +179,8 @@ jobs: npm version $VERSION --no-git-tag-version || true cd ../.. - - name: Check if release exists - id: check_release - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - if gh release view "v${{ steps.get_version.outputs.version }}" &>/dev/null; then - echo "exists=true" >> $GITHUB_OUTPUT - echo "Release v${{ steps.get_version.outputs.version }} already exists" - else - echo "exists=false" >> $GITHUB_OUTPUT - echo "Release v${{ steps.get_version.outputs.version }} does not exist" - fi - - - name: Create Release + - name: Create or Update Release id: create_the_release - if: steps.check_release.outputs.exists != 'true' uses: softprops/action-gh-release@v2 with: tag_name: v${{ steps.get_version.outputs.version }} @@ -239,11 +225,7 @@ jobs: id: output_release_info run: | echo "tag_name=v${{ steps.get_version.outputs.version }}" >> $GITHUB_OUTPUT - if [[ "${{ steps.check_release.outputs.exists }}" == "true" ]]; then - echo "â„šī¸ Using existing release: v${{ steps.get_version.outputs.version }}" - else - echo "✅ Release created: v${{ steps.get_version.outputs.version }}" - fi + echo "✅ Release created/updated: v${{ steps.get_version.outputs.version }}" update_homebrew_tap: name: Update Homebrew Tap