Source ~/.profile before doing anything else - ghUpload

This commit is contained in:
Dominika 2020-05-03 20:57:01 -04:00 committed by GitHub
parent 83a6f6de2c
commit 12fbb3dfba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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