always release

This commit is contained in:
dal 2025-09-26 16:06:55 -06:00
parent 6460e1d8e2
commit 001b87c0c8
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 2 additions and 20 deletions

View File

@ -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