Commit ea77492e authored by akiraohgaki's avatar akiraohgaki

CI job

parent 8614baa4
Pipeline #315 passed with stage
in 2 minutes and 5 seconds
......@@ -9,4 +9,7 @@ appimage:
- /^release\-.+/
script:
- ./scripts/package appimage
- cat transfer.log
artifacts:
paths:
- build_*/ocs-store*.AppImage
expire_in: 2 days
......@@ -14,7 +14,6 @@ appimage() { # docker-image: ubuntu:14.04
install_build_deps_appimage
add_pkguser
su -c "export HOME=/home/${PKGUSER} && "${PKGSCRIPT}" build_appimage" ${PKGUSER}
transfer_file "$(find "${BUILDDIR}" -type f -name "${PKGNAME}*-x86_64.AppImage")"
}
install_build_deps_appimage() {
......@@ -48,16 +47,6 @@ export_srcarchive() {
fi
}
transfer_file() {
if [ -f "${1}" ]; then
filename="$(basename "${1}")"
transferlog="${PROJDIR}/transfer.log"
echo "Uploading ${filename}" >> "${transferlog}"
curl -fsSL -T "${1}" "https://transfer.sh/${filename}" >> "${transferlog}"
echo '' >> "${transferlog}"
fi
}
if [ "${1}" ]; then
${1}
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment