#!/bin/bash # This bash script uploads the pdf2htmlEX release artefacts # # We EXPECT the following environment variables to be set: # GITHUB_TOKEN # DOCKER_USERNAME # # You can OPTIONALLY set the following environment variables: # DOCKER_PASSWORD (if not set you will be asked for your password) # UPLOADTOOL_BODY (the text of the github release message) # source ./buildScripts/reSourceVersionEnvs ################################## # upload github release artefacts # cd imageBuild if [ -n "$GITHUB_TOKEN" ]; then wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh echo $BUILD_TIME > buildTime echo $APPIMAGE_NAME > appImageName echo $DOCKER_NAME > dockerImageName if [ -z "$UPLOADTOOL_BODY" ]; then export UPLOADTOOL_BODY=<