diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-02-06 22:55:57 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-02-06 22:56:14 +0100 |
commit | 50f5fc66372db583637ccea6a259436c804596b6 (patch) | |
tree | 4654d342bd51ecffb2451137d46e06aab71b8d2a /scripts | |
parent | Add a reduced motion option (diff) | |
download | nheko-50f5fc66372db583637ccea6a259436c804596b6.tar.xz |
Use more modern flatpak build features
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/upload-to-flatpak-repo.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/upload-to-flatpak-repo.sh b/scripts/upload-to-flatpak-repo.sh index fdb37f82..6f6bff92 100755 --- a/scripts/upload-to-flatpak-repo.sh +++ b/scripts/upload-to-flatpak-repo.sh @@ -6,9 +6,9 @@ if [ -z "$1" ]; then fi if [ -n "${CI_COMMIT_TAG}" ]; then - BUILD_URL=$(./flat-manager-client create https://flatpak.neko.dev stable) + BUILD_URL=$(./flat-manager-client create --public_download https://flatpak.neko.dev stable) elif [ "master" = "${CI_COMMIT_REF_NAME}" ]; then - BUILD_URL=$(./flat-manager-client create https://flatpak.neko.dev nightly) + BUILD_URL=$(./flat-manager-client create --public_download https://flatpak.neko.dev nightly) fi if [ -z "${BUILD_URL}" ]; then @@ -18,7 +18,6 @@ fi BUILD_URL=${BUILD_URL/http:/https:} -./flat-manager-client push $BUILD_URL $1 -./flat-manager-client commit --wait $BUILD_URL -./flat-manager-client publish --wait $BUILD_URL +./flat-manager-client push --commit --wait --wait-update $BUILD_URL $1 +./flat-manager-client publish --wait --wait-update $BUILD_URL |