fix: don't release unless there's a tag (#1394)

This commit is contained in:
Giuliano Mega 2026-01-29 13:09:37 -03:00 committed by GitHub
parent 7c3894da54
commit 9ab8e1d671
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,7 +139,7 @@ jobs:
ZIPFILE=libstorage-linux-${{ matrix.cpu }}-${{ env.VERSION }}.zip
zip -j $ZIPFILE ./build/libstorage.so ./library/libstorage.h
echo "ZIPFILE=$ZIPFILE" >> $GITHUB_ENV
- name: Package artifacts MacOS
if: matrix.os == 'macos'
run: |
@ -264,7 +264,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v2
if: env.TAGGED_RELEASE
if: env.TAGGED_RELEASE == 'true'
with:
files: |
/tmp/release/*
@ -272,7 +272,7 @@ jobs:
- name: Generate Python SDK
uses: peter-evans/repository-dispatch@v3
if: env.TAGGED_RELEASE
if: env.TAGGED_RELEASE == 'true'
with:
token: ${{ secrets.DISPATCH_PAT }}
repository: logos-storage/logos-storage-py-api-client