mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-12 14:33:20 +01:00
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]
This commit is contained in:
@@ -5,5 +5,5 @@ rtype=${2:?Second argument is either 'release' or 'debug'}
|
||||
|
||||
tar_basename=google-apis-rs_cli-${version}_linux-x86-64_${rtype}
|
||||
tar_file=${tar_basename}.tar.gz
|
||||
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 $?
|
||||
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 $?
|
||||
echo Wrote $tar_file
|
||||
|
||||
Reference in New Issue
Block a user