1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +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
./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
else

View File

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