1
0
Fork 0
forked from lthn/blockchain

Add conditional check for alpha and beta versions

the tag + release deleting only happens for -alpha or -beta
This commit is contained in:
Snider 2025-10-05 14:35:21 +01:00 committed by GitHub
parent d8d81c1f2e
commit c2c130a076
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,6 +28,7 @@ jobs:
run: echo "VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
- name: Delete Release and Tag
if: contains(steps.get_version.outputs.VERSION, '-alpha') || contains(steps.get_version.outputs.VERSION, '-beta')
uses: dev-drprasad/delete-older-releases@v0.3.4
with:
keep_latest: 0