fix(release): correct npm tarball filename pattern
The stage_npm_packages.py script creates tarballs named {package}-npm-{version}.tgz
(e.g., llmx-npm-0.1.0.tgz), but the workflow was looking for valknar-llmx-npm-{version}.tgz.
Fixed the download pattern and publish tarball list to match the actual output from
the staging script.
This commit is contained in:
4
.github/workflows/rust-release.yml
vendored
4
.github/workflows/rust-release.yml
vendored
@@ -499,7 +499,7 @@ jobs:
|
|||||||
mkdir -p dist/npm
|
mkdir -p dist/npm
|
||||||
gh release download "$tag" \
|
gh release download "$tag" \
|
||||||
--repo "${GITHUB_REPOSITORY}" \
|
--repo "${GITHUB_REPOSITORY}" \
|
||||||
--pattern "valknar-llmx-npm-${version}.tgz" \
|
--pattern "llmx-npm-${version}.tgz" \
|
||||||
--dir dist/npm
|
--dir dist/npm
|
||||||
|
|
||||||
# No NODE_AUTH_TOKEN needed because we use OIDC.
|
# No NODE_AUTH_TOKEN needed because we use OIDC.
|
||||||
@@ -515,7 +515,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
tarballs=(
|
tarballs=(
|
||||||
"valknar-llmx-npm-${VERSION}.tgz"
|
"llmx-npm-${VERSION}.tgz"
|
||||||
)
|
)
|
||||||
|
|
||||||
for tarball in "${tarballs[@]}"; do
|
for tarball in "${tarballs[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user