1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

corrected release upload

This commit is contained in:
Stephen Gaito 2019-11-28 19:13:40 +00:00
parent ce93fa036d
commit cd88751cf3
2 changed files with 8 additions and 2 deletions

View File

@ -33,7 +33,10 @@ if [ -n "$GITHUB_TOKEN" ]; then
echo $DOCKER_NAME > dockerImageName echo $DOCKER_NAME > dockerImageName
./buildScripts/uploadReleaseTool "$REPO_SLUG" "continuous" "Latest release" \ echo ../buildScripts/uploadReleaseTool "$TRAVIS_REPO_SLUG" "continuous" "Latest release" \
-- $APPIMAGE_NAME appImageName dockerImageName buildTime
../buildScripts/uploadReleaseTool "$TRAVIS_REPO_SLUG" "continuous" "Latest release" \
-- $APPIMAGE_NAME appImageName dockerImageName buildTime -- $APPIMAGE_NAME appImageName dockerImageName buildTime
else else

View File

@ -57,18 +57,21 @@ fi
[ -n "$2" ] || (usage; exit 1); [ -n "$2" ] || (usage; exit 1);
REPO="$1" REPO="$1"
echo "Repository: [$REPO]"
shift shift
TAG="$1" TAG="$1"
echo " Tag: [$TAG]"
shift shift
NAME="$(basename "$REPO") ${TAG}" NAME="$(basename "$REPO") ${TAG}"
if [ -n "$1" -a "$1" != "--" ]; then if [ -n "$1" -a "$1" != "--" ]; then
NAME="${NAME}: $1"; NAME="${NAME}: $1";
echo " Name: [$NAME]"
shift shift
fi fi
BODY="$(cat ./buildScripts/uploadReleaseMessage)" BODY="$(cat ../buildScripts/uploadReleaseMessage)"
if [ "$1" = "--" -a "$#" -ge "2" ]; then if [ "$1" = "--" -a "$#" -ge "2" ]; then
shift shift