Skip to content

Commit cbc9e55

Browse files
committed
fix(ci): use single quotes for echo to prevent history expansion in zsh
1 parent da1a037 commit cbc9e55

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/goreleaser.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,20 +303,20 @@ jobs:
303303
run: |
304304
# npm/scripts/build.sh was already executed by GoReleaser after_hooks.
305305
# Platform packages (npm/unirtm-*/bin/) and package.json files are ready.
306-
echo "=== Publishing platform sub-packages ==="
306+
echo '=== Publishing platform sub-packages ==='
307307
for pkg in npm/unirtm-*/; do
308308
pkg_name=$(node -p "require('./${pkg}package.json').name" 2>/dev/null || echo "${pkg}")
309309
echo "[publish] ${pkg_name} ..."
310310
npm publish "${pkg}" --access public --registry=https://registry.npmjs.org
311311
done
312312
313313
echo ""
314-
echo "=== Publishing root package ==="
315-
echo "[publish] @snowdreamtech/unirtm ..."
314+
echo '=== Publishing root package ==='
315+
echo '[publish] @snowdreamtech/unirtm ...'
316316
npm publish npm/unirtm/ --access public --registry=https://registry.npmjs.org
317317
318318
echo ""
319-
echo "[done] All npm packages published successfully!"
319+
echo '[done] All npm packages published successfully!'
320320
321321
- name: "🛡️ Attest Build Provenance (SLSA)"
322322
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)