chore(ci): get npm package filename from json output (#1889)

This commit is contained in:
エリス
2026-02-24 12:46:34 +09:00
committed by GitHub
parent faa00f2a62
commit 7fbdee1e9c

View File

@@ -69,7 +69,7 @@ jobs:
- name: Generate "tgz" npm convenience package
run: |-
npm install
NPM_PKG_NAME=$(npm pack)
NPM_PKG_NAME=$(npm pack --json | jq -r '.[0].filename')
mv ./.asf-release/$NPM_PKG_NAME ./.asf-release/${REPO_NAME}-npm-${TARGET_RELEASE_VERSION}.tgz
- name: Generate "tar.gz" source archive