diff --git a/scripts/githubUpload.sh b/scripts/githubUpload.sh index 74b417365..a6b2a04a7 100755 --- a/scripts/githubUpload.sh +++ b/scripts/githubUpload.sh @@ -2,6 +2,8 @@ # Separate upload script to run in case the first fails +source ~/.profile + cd ~/kamiblue CUR_VER="$(tail -c +2 ./scripts/curVer)" @@ -20,6 +22,5 @@ sleep 2 # Upload the release cd ~/ -source ~/.profile ./github-release-linux-amd64 $CUR_VER-$COMMIT_TRIM $BUILD_DIR/$JAR_DIR --commit master --tag $CUR_VER-$COMMIT_TRIM --github-repository $GITHUB_RELEASE_REPOSITORY --github-access-token $GITHUB_RELEASE_ACCESS_TOKEN sleep 5