Skip to content

Commit

Permalink
fix(deploy): adjust linux script to target dir
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
Byron committed Jun 27, 2015
1 parent 6393bbf commit 0f61fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bash/linux-deploy.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0f61fa4

Please sign in to comment.