Skip to content

Commit f077633

Browse files
committed
fix(ci): improve package file detection in release workflow
1 parent 105bb36 commit f077633

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,13 @@ jobs:
6060
working-directory: packages/core
6161
run: pnpm pack
6262

63-
- name: Rename package file
63+
- name: Find and rename package file
6464
working-directory: packages/core
6565
run: |
66-
mv tracker-core-*.tgz tracker-core-${{ steps.version.outputs.version }}.tgz
66+
PKG_FILE=$(ls *.tgz | head -1)
67+
echo "Found package: $PKG_FILE"
68+
mv "$PKG_FILE" tracker-core-${{ steps.version.outputs.version }}.tgz
69+
ls -la *.tgz
6770
6871
- name: Generate changelog
6972
id: changelog

0 commit comments

Comments
 (0)