bigbluebutton-Github/build/push_packages.sh
Stefan Weil 00013312eb Fix typo (found by typos)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-03-10 10:53:34 +01:00

18 lines
793 B
Bash
Executable File

#!/bin/bash -xe
# This script uploads the packages to the CI repo server. Its counterpart
# on the server end is ci-repo-upload/cgi-bin/incoming.py. The variable
# ADDITIONAL_PACKAGE_FILES contains a comma-separated list of the package
# files that the change detection decided to reuse for this build, since
# the contents have not changed since that commit.
ADDITIONAL_PACKAGE_FILES="$(awk '{print $2}' < packages_to_skip.txt | tr '\n' ',' | sed 's/,*$//')"
curl \
$(for file in artifacts/*.deb; do echo -n "-F pkgs[]=@${file} " ; done) \
-F "branch=${CI_COMMIT_BRANCH}" \
-F "additional_package_files=${ADDITIONAL_PACKAGE_FILES}" \
-F "gpg_passphrase=${GPG_PASSPHRASE}" \
-u "${PACKAGES_UPLOAD_AUTHENTICATION}" \
"${PACKAGES_UPLOAD_BASE_URL}/cgi-bin/incoming.py"