Skip to content

Commit

Permalink
Fix removal of release-staging files while running hack/e2e-test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rsokolowski committed Feb 3, 2015
1 parent 0b801a9 commit 164c3e5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,11 @@ function kube::release::package_tarballs() {
mkdir -p "${RELEASE_DIR}"

# Clean out cruft
find _output/release-stage/ -name '*~' -exec rm {} \;
find _output/release-stage/ -name '#*#' -exec rm {} \;
find _output/release-stage/ -name '.DS*' -exec rm {} \;
if [ -d "_output/release-stage/" ]; then
find _output/release-stage/ -name '*~' -exec rm {} \;
find _output/release-stage/ -name '#*#' -exec rm {} \;
find _output/release-stage/ -name '.DS*' -exec rm {} \;
fi

kube::release::package_client_tarballs
kube::release::package_server_tarballs
Expand Down

0 comments on commit 164c3e5

Please sign in to comment.