ci(release.yml): Change release yml

This commit is contained in:
Eric Fennis
2026-03-21 15:14:51 +01:00
parent 73139fae2d
commit e3db10ac9d

View File

@@ -13,7 +13,7 @@ on:
type: string
tag:
description: NPM tag
default: 'latest'
default: 'next' # set to latest after v1 release
type: string
permissions:
@@ -150,7 +150,7 @@ jobs:
path: lucide-font
post-release:
if: github.repository == 'lucide-icons/lucide'
if: github.repository == 'lucide-icons/lucide' && github.event_name != 'workflow_call'
runs-on: ubuntu-latest
needs: [prepare, lucide-font]
permissions:
@@ -168,6 +168,7 @@ jobs:
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ needs.prepare.outputs.VERSION }}
files: |
lucide-font-${{ needs.prepare.outputs.VERSION }}.zip
lucide-icons-${{ needs.prepare.outputs.VERSION }}.zip