Permalink
Browse files

If the build was successful, run debc from devscripts.

  • Loading branch information...
lamby committed Sep 14, 2017
1 parent 345c6c1 commit 000ee30fc5582bf82d0d41f744fae639a51f3550
Showing with 6 additions and 4 deletions.
  1. +6 −4 script.sh
View
@@ -384,12 +384,14 @@ fi
EOF
fi
Info "Removing container"
docker rm "$(cat "${CIDFILE}")" >/dev/null
rm -f "${CIDFILE}"
Info "Build successful"
docker start "$(cat "${CIDFILE}")" >/dev/null
sed -e 's@^@ @g' "${TRAVIS_DEBIAN_TARGET_DIR}"/*.changes
docker exec "$(cat "${CIDFILE}")" /bin/sh -c "debc ${TRAVIS_DEBIAN_BUILD_DIR}/*.changes" | sed -e 's@^@ @g'
Info "Removing container"
docker rm -f "$(cat "${CIDFILE}")" >/dev/null
rm -f "${CIDFILE}"
# _ _ _ _ _ _
# | |_ _ __ __ ___ _(_)___ __| | ___| |__ (_) __ _ _ __ _ __ ___| |_

0 comments on commit 000ee30

Please sign in to comment.