From 570421d04af5e33058b680b4f8879c59bd6ae8c9 Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Sat, 6 Jun 2020 09:59:52 +0100 Subject: [PATCH] corrected travis release scripts --- buildScripts/uploadGitHubRelease | 2 +- buildScripts/versionEnvs | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/buildScripts/uploadGitHubRelease b/buildScripts/uploadGitHubRelease index a7cbab5..0f14170 100755 --- a/buildScripts/uploadGitHubRelease +++ b/buildScripts/uploadGitHubRelease @@ -73,7 +73,7 @@ echo $DPKG_NAME > debianArchiveName.txt deleteReleaseByTag "$TRAVIS_REPO_SLUG" "continuous-$BUILD_DIST" -createNewRelease "$TRAVIS_REPO_SLUG" "continuous-$BUILD_DIST" "Latest release" \ +createNewRelease "$TRAVIS_REPO_SLUG" "continuous-$BUILD_DIST" "Latest $BUILD_DIST release" \ ../buildScripts/uploadGitHubReleaseMessage uploadAnAsset $upload_url "appImageName.txt" "text/plain" diff --git a/buildScripts/versionEnvs b/buildScripts/versionEnvs index 38b0ff3..0bc662a 100755 --- a/buildScripts/versionEnvs +++ b/buildScripts/versionEnvs @@ -44,12 +44,8 @@ cat /etc/lsb-release source /etc/lsb-release -echo "DISTRIB_CODENAME = $DISTRIB_CODENAME" - export BUILD_DIST=$DISTRIB_CODENAME -echo "BUILD_DIST = $BUILD_DIST" - export BUILD_TIME="$(date +%Y_%m_%d-%H_%M_%S)" export MACHINE_ARCH="$(uname -m)" @@ -61,5 +57,3 @@ echo "export MACHINE_ARCH=\"$MACHINE_ARCH\"" >> buildScripts/reSourceV echo "export BUILD_DIST=\"$BUILD_DIST\"" >> buildScripts/reSourceVersionEnvs echo "export BUILD_TIME=\"$BUILD_TIME\"" >> buildScripts/reSourceVersionEnvs echo "export PDF2HTMLEX_PREFIX=\"$PDF2HTMLEX_PREFIX\"" >> buildScripts/reSourceVersionEnvs - -cat buildScripts/reSourceVersionEnvs