Skip to content

Commit aa4de33

Browse files
chore: update CI workflow to pack plugin with custom output filename to match what the publish step expects. (#162)
1 parent 49fc74b commit aa4de33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ jobs:
6868
run: |
6969
node -e "const fs=require('fs'); const pkg=JSON.parse(fs.readFileSync('package.json')); pkg.version='${{ needs.split-tag.outputs.version }}'; fs.writeFileSync('package.json', JSON.stringify(pkg,null,2)+'\n');"
7070
echo "Set version to ${{ needs.split-tag.outputs.version }}"
71-
- run: yarn pack
71+
- name: Pack plugin
72+
run: yarn pack --out '%s-%v.tgz'
7273
- uses: softprops/action-gh-release@v2
7374
with:
7475
draft: true

0 commit comments

Comments
 (0)