Skip to content

Commit f0bc92f

Browse files
committed
Further fix to release workflow to prevent interpretation of tarballs as package specs
1 parent d69f5c5 commit f0bc92f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
run: |
114114
set -euo pipefail
115115
shopt -s nullglob
116-
for tgz in dist-tarballs/*.tgz; do
116+
for tgz in ./dist-tarballs/*.tgz; do
117117
echo "Publishing $tgz to npmjs.org with tag '${PUBLISH_TAG}' ..."
118118
# --access public needed for first publish of public packages
119119
npm publish "$tgz" --provenance --access public --tag "${PUBLISH_TAG}"
@@ -145,7 +145,7 @@ jobs:
145145
run: |
146146
set -euo pipefail
147147
shopt -s nullglob
148-
for tgz in dist-tarballs/*.tgz; do
148+
for tgz in ./dist-tarballs/*.tgz; do
149149
echo "Publishing $tgz to GitHub Packages with tag '${PUBLISH_TAG}' ..."
150150
# GitHub Packages does not support npm provenance; omit --provenance and --access
151151
npm publish "$tgz" --tag "${PUBLISH_TAG}"

0 commit comments

Comments
 (0)