mirror of
https://codeberg.org/gitnex/GitNex
synced 2025-01-03 14:29:27 +01:00
Improving CI. (#581)
Improving CI. Co-authored-by: opyale <opyale@noreply.gitea.io> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/581 Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
parent
1db6a3294b
commit
47b24470e6
@ -36,7 +36,7 @@ sign:
|
||||
artifacts:
|
||||
paths:
|
||||
- signed.apk
|
||||
expire_in: 30 minutes
|
||||
expire_in: 15 minutes
|
||||
|
||||
latest:
|
||||
image: tutum/curl
|
||||
@ -46,7 +46,7 @@ latest:
|
||||
variables:
|
||||
WEBDAV_USERNAME: "GitNexBot"
|
||||
PLUGIN_FILE: "signed.apk"
|
||||
PLUGIN_DESTINATION: "https://cloud.swatian.com/remote.php/dav/files/GitNexBot/GitNex-Builds/latest.apk"
|
||||
PLUGIN_DESTINATION: "https://cloud.swatian.com/remote.php/dav/files/GitNexBot/gitnex/builds/latest.apk"
|
||||
script:
|
||||
- curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" "$PLUGIN_DESTINATION"
|
||||
|
||||
@ -59,4 +59,5 @@ release:
|
||||
WEBDAV_USERNAME: "GitNexBot"
|
||||
PLUGIN_FILE: "signed.apk"
|
||||
script:
|
||||
- curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" 'https://cloud.swatian.com/remote.php/dav/files/GitNexBot/GitNex-Builds/releases/'"$CI_COMMIT_REF_NAME"'.apk'
|
||||
- [[ $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'
|
||||
|
@ -13,7 +13,7 @@ GitNex is licensed under GPLv3 License. See the LICENSE file for the full licens
|
||||
[<img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' height="80"/>](https://play.google.com/store/apps/details?id=org.mian.gitnex)
|
||||
[<img alt='Download APK' src='https://gitnex.com/img/download-apk.png' height="80"/>](https://cloud.swatian.com/s/QoDFzMxmnf2FfYw)
|
||||
|
||||
Download latest build from master: [https://cloud.swatian.com/s/Cq592xGEfnsGAAW](https://cloud.swatian.com/s/Cq592xGEfnsGAAW)
|
||||
Download the latest build from master and old releases [here](https://cloud.swatian.com/s/DN7E5xxtaw4fRbE).
|
||||
|
||||
## Note about Gitea version
|
||||
Please make sure that you are on latest stable release or later for better app experience.
|
||||
|
Loading…
Reference in New Issue
Block a user