Skip to content

Commit 0f61fa4

Browse files
committed
fix(deploy): adjust linux script to target dir
Previously it attempted to find build-artifacts in the 'gen' directory, now these are all found in 'target', provided cargo 0.3.0 is used. [skip ci]
1 parent 6393bbf commit 0f61fa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bash/linux-deploy.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ rtype=${2:?Second argument is either 'release' or 'debug'}
55

66
tar_basename=google-apis-rs_cli-${version}_linux-x86-64_${rtype}
77
tar_file=${tar_basename}.tar.gz
8-
tar -czf $tar_file --transform "s%^.*/%%" -T <(find gen -executable -type f -path "*/${rtype}/*" -not \( -name "*.*" -or -name "*script*" -or -regex ".*-[a-f0-9]{16}" \)) || exit $?
8+
tar -czf $tar_file --transform "s%^.*/%%" -T <(find target -executable -type f -path "*/${rtype}/*" -not \( -name "*.*" -or -name "*script*" -or -regex ".*-[a-f0-9]{16}" \)) || exit $?
99
echo Wrote $tar_file

0 commit comments

Comments
 (0)