blob: 47b8f0c0b082a9aa4d3f6883718df832a9d42bb7 [file] [log] [blame]
#!/bin/bash
APPNAME=push
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}/usr/local/bin/${APPNAME}
${INSTALL} --mode=644 -T ./allskiapush.json5 ${ROOT}/etc/${APPNAME}/skiapush.json5
${INSTALL_DIR} --mode=755 ${ROOT}/usr/local/share/${APPNAME}/
${INSTALL} --mode=644 ./dist/* ${ROOT}/usr/local/share/${APPNAME}/
}
source ../bash/docker_build.sh