From cd88751cf379cbb399cbfcbeaff3a5bf4ab3430e Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Thu, 28 Nov 2019 19:13:40 +0000 Subject: [PATCH] corrected release upload --- buildScripts/uploadRelease | 5 ++++- buildScripts/uploadReleaseTool | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/buildScripts/uploadRelease b/buildScripts/uploadRelease index 4653f29..126102c 100755 --- a/buildScripts/uploadRelease +++ b/buildScripts/uploadRelease @@ -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 diff --git a/buildScripts/uploadReleaseTool b/buildScripts/uploadReleaseTool index de18d73..f60d8a9 100755 --- a/buildScripts/uploadReleaseTool +++ b/buildScripts/uploadReleaseTool @@ -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