mirror of https://github.com/kami-blue/client
Added delays to githubUpload to make it more reliable
This commit is contained in:
parent
feb429c98e
commit
9f35d78e4f
|
@ -16,8 +16,10 @@ JAR_DIR="$(ls "$BUILD_DIR" | grep "release")"
|
|||
# delete the release in case it exists
|
||||
git tag -d $CUR_VER-$COMMIT_TRIM
|
||||
git push origin :refs/tags/$CUR_VER-$COMMIT_TRIM
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue