Skip to content

Commit 83b7343

Browse files
clydinalan-agius4
authored andcommitted
Revert "build: change to local repo's build system(path to npm_package_archive.tgz files)"
This reverts commit eedeee2. Causes snapshot publishing failures: https://github.com/angular/angular-cli/actions/runs/10471282117/job/29006137399
1 parent 615ee6c commit 83b7343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/link_package_json_to_tarballs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def link_package_json_to_tarballs(name, src, pkg_deps, out):
5353
name = "%s_%s_filter" % (name, i),
5454
srcs = srcs,
5555
cmd = """
56-
TAR=$$({abs_path_sandbox} || {abs_path_nosandbox})/npm_package_archive.tgz
56+
TAR=$$(dirname $$({abs_path_sandbox} || {abs_path_nosandbox}))/npm_package_archive.tgz
5757
PKGNAME=$$(cat $(execpath {pkg_name}))
5858
if [[ "$$TAR" != *bazel-out* ]]; then
5959
echo "ERROR: package.json passed to substitute_tar_deps must be in the output tree. You can use copy_to_bin to copy a source file to the output tree."

0 commit comments

Comments
 (0)