Skip to content

Commit

Permalink
Merge pull request #91 from privacysandbox/release-0.64.1
Browse files Browse the repository at this point in the history
Release 0.64.1
  • Loading branch information
pmeric authored May 29, 2024
2 parents 9aca75e + 08efc78 commit f51a203
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## 0.64.1 (2024-05-29)


### Bug Fixes

* Support container reuse when --cmd not specified
* Use find to identify bazel symlinks

## 0.64.0 (2024-05-27)


Expand Down
6 changes: 3 additions & 3 deletions tools/cbuild
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,12 @@ if [[ ${KEEP_CONTAINER_RUNNING} -eq 1 ]]; then
docker exec \
"${DOCKER_EXEC_RUN_ARGS[@]}" \
"${DOCKER_RUNNING_CONTAINER}" \
/bin/bash -c "'${TOOLS_RELDIR}'/normalize-bazel-symlinks; env \${CMD_PROFILER} ${CMD}"
/bin/bash -c "'${TOOLS_RELDIR}'/normalize-bazel-symlinks; env \${CMD_PROFILER} ${CMD:-/bin/sh}"
else
docker exec \
"${DOCKER_EXEC_RUN_ARGS[@]}" \
"${DOCKER_RUNNING_CONTAINER}" \
/bin/bash -c "${CMD}"
/bin/bash -c "${CMD:-/bin/sh}"
fi
fi
else
Expand All @@ -328,6 +328,6 @@ else
${DOCKER_RUN_ARGS[@]} \
"${DOCKER_EXEC_RUN_ARGS[@]}" \
"${IMAGE_TAGGED}" \
--login -c "$CMD"
--login -c "${CMD}"
fi
fi
14 changes: 4 additions & 10 deletions tools/normalize-bazel-symlinks
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,8 @@ fi
source "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"/builder.sh
cd "${WORKSPACE}" || true

declare -a -r LINK_DIRS=(
bazel-bin
bazel-out
bazel-testlogs
bazel-workspace
)
for link in "${LINK_DIRS[@]}"; do
if [[ -L ${link} ]]; then
${_normalize_fn} "${link}"
fi
declare -a links
mapfile -t links < <(find . -maxdepth 1 -type l -name "bazel-*" -exec basename {} \;)
for link in "${links[@]}"; do
${_normalize_fn} "${link}"
done
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.64.0
0.64.1

0 comments on commit f51a203

Please sign in to comment.