mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-02-10 13:24:41 +08:00
default settings: core and lib32 build against testing desktop and gtk build against stable to build against an other repository add the repository name in the commend included in the brackets [] for instance: "[testing] commit message" the deploy server is always testing or staging, uploading to stable directly is not permitted
19 lines
470 B
Bash
Executable File
19 lines
470 B
Bash
Executable File
#!/usr/bin/env bash
|
|
SCRIPT_DIR=$( dirname $( readlink -e $0 ) )
|
|
source "$SCRIPT_DIR/../.build-lib/ci-library.sh"
|
|
source "$SCRIPT_DIR/../.build-lib/ci-deploy-library.sh"
|
|
|
|
# get the list of packages to upload
|
|
_do list_upload_packages
|
|
|
|
if [ -z "$UPLOAD_LIST" ]; then
|
|
_log success "Done nothing to upload!"
|
|
else
|
|
# rsync upload
|
|
_do upload_files $(get_repository)
|
|
# akbm to add to the repository
|
|
_do update_remote_db
|
|
|
|
_log success "Done uploading!"
|
|
fi
|