X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fshell%2Fta-rpm-deploy.sh;h=719ec5dc2f18f88332092e0aedfefa6e59f3d8a3;hp=f0381e88cb8ab68dedd8d9f3f17200f953fc9835;hb=0904fdd5e0e3b113ee90e77c646a7f156d878762;hpb=263030a4071bcdeaca085dde57ca821bc6690092 diff --git a/jjb/shell/ta-rpm-deploy.sh b/jjb/shell/ta-rpm-deploy.sh index f0381e8..719ec5d 100644 --- a/jjb/shell/ta-rpm-deploy.sh +++ b/jjb/shell/ta-rpm-deploy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. @@ -16,6 +16,8 @@ set -eu -o pipefail set -x # Trace commands for this script to make debugging easier. +set +f # Ensure filename expansion (globbing) is enabled + NEXUS_REPO=rpm.snapshots release_path=TA/release-1 @@ -61,6 +63,9 @@ for artifact in \ fi done +echo "-----> Sign all artifacts" +lftools sign sigul "$repo_dir" + echo "-----> Upload RPMs to Nexus" lftools deploy nexus "$nexus_repo_url" "$repo_dir"