blob: 80ac2a178df08e7cc5e87b59fba969e4f522c588 [file] [log] [blame]
#!/bin/bash
# Builds and uploads a debian package for leasing.
APPNAME=leasing
set -x -e
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
${INSTALL} --mode=644 -T Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/${APPNAME} ${ROOT}/${APPNAME}
${INSTALL_DIR} --mode=755 ${ROOT}/usr/local/share/${APPNAME}/isolates
${INSTALL} --mode=644 ./isolates/* ${ROOT}/usr/local/share/${APPNAME}/isolates
${INSTALL} --mode=644 ./dist/* ${ROOT}/usr/local/share/${APPNAME}
}
source ../bash/docker_build.sh