tools/make_release.sh: don't overwrite global variables.
PiperOrigin-RevId: 433105561
This commit is contained in:
parent
3d52015286
commit
9851f1f320
|
@ -41,6 +41,7 @@ done
|
|||
# install_raw installs raw artifacts.
|
||||
install_raw() {
|
||||
for binary in "${binaries[@]}"; do
|
||||
local arch name
|
||||
# Copy the raw file & generate a sha512sum, sorted by architecture.
|
||||
arch=$(file "${binary}" | cut -d',' -f2 | awk '{print $NF}' | tr '-' '_')
|
||||
name=$(basename "${binary}")
|
||||
|
|
Loading…
Reference in New Issue