We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50514b2 commit db947b3Copy full SHA for db947b3
scripts/build-packages-dist.sh
@@ -44,6 +44,10 @@ dirs=`echo "$targets" | sed -e 's/\/\/src\/\(.*\):npm_package/\1/'`
44
# do this to ensure that the version placeholders are properly populated.
45
for pkg in ${dirs}; do
46
pkg_dir="${bazel_bin_path}/src/${pkg}/npm_package"
47
+ # Make all directories in the previous package output writable. Bazel by default
48
+ # makes tree artifacts and file outputs readonly. This causes permission errors
49
+ # when deleting the folder. To avoid these errors, we make all files writable.
50
+ chmod -R u+w ${pkg_dir}
51
rm -Rf ${pkg_dir}
52
done
53
0 commit comments