Fixing CI (#582)

Fixing CI

Co-authored-by: opyale <opyale@noreply.gitea.io>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/582
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
opyale 2020-07-09 13:37:44 +02:00 committed by M M Arif
parent 47b24470e6
commit 3d72d68e14
1 changed files with 1 additions and 1 deletions

View File

@ -59,5 +59,5 @@ release:
WEBDAV_USERNAME: "GitNexBot"
PLUGIN_FILE: "signed.apk"
script:
- [[ $CI_COMMIT_REF_NAME == *"-rc"* ]] && echo "Upload blocked. Build seems to be a release candidate." && exit 0
- "[[ $CI_COMMIT_REF_NAME == *'-rc'* ]] && echo 'Upload blocked. Build seems to be a release candidate.' && exit 0"
- curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" 'https://cloud.swatian.com/remote.php/dav/files/GitNexBot/gitnex/releases/'"$CI_COMMIT_REF_NAME"'.apk'