Skip to content

Commit e3db10a

Browse files
committed
ci(release.yml): Change release yml
1 parent 73139fa commit e3db10a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
type: string
1414
tag:
1515
description: NPM tag
16-
default: 'latest'
16+
default: 'next' # set to latest after v1 release
1717
type: string
1818

1919
permissions:
@@ -150,7 +150,7 @@ jobs:
150150
path: lucide-font
151151

152152
post-release:
153-
if: github.repository == 'lucide-icons/lucide'
153+
if: github.repository == 'lucide-icons/lucide' && github.event_name != 'workflow_call'
154154
runs-on: ubuntu-latest
155155
needs: [prepare, lucide-font]
156156
permissions:
@@ -168,6 +168,7 @@ jobs:
168168
uses: softprops/action-gh-release@v2
169169
with:
170170
tag_name: ${{ needs.prepare.outputs.VERSION }}
171+
171172
files: |
172173
lucide-font-${{ needs.prepare.outputs.VERSION }}.zip
173174
lucide-icons-${{ needs.prepare.outputs.VERSION }}.zip

0 commit comments

Comments
 (0)