gtk/.build-bin/deploy.sh
AlmAck b4eda037c9 [skip-ci] implemented repository build detection
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
2018-01-06 22:30:57 +01:00

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