Skip to content

Commit 69a588c

Browse files
committed
Update release workflow to specify output filename
1 parent f8cfa57 commit 69a588c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
yarn workspace docflow build
4444
mkdir -p out
4545
cd packages/cli
46-
yarn pack --out ../../out
46+
yarn pack --out ../../out/docflow-cli.tgz
4747
4848
- id: extract-changelog
4949
uses: dahlia/submark@5a5ff0a58382fb812616a5801402f5aef00f90ce
@@ -75,9 +75,9 @@ jobs:
7575
npm config set //registry.npmjs.org/:_authToken "$NPM_AUTH_TOKEN"
7676
npm whoami
7777
if [[ "$GITHUB_REF_TYPE" = "tag" ]]; then
78-
npm publish --provenance --access public *.tgz
78+
npm publish --provenance --access public docflow-cli.tgz
7979
else
80-
npm publish --provenance --access public --tag dev *.tgz
80+
npm publish --provenance --access public --tag dev docflow-cli.tgz
8181
fi
8282
env:
8383
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)