From: Denys Vlasenko <[email protected]>

redhat/scripts/rh-dist-git.sh: print list of uploaded files

Move
    echo "Uploading new tarballs"
down, right before "upload $upload_list" line, and change it into
    echo "Uploading new tarballs: $upload_list"

I needed this while debugging a problem.

Signed-off-by: Denys Vlasenko <[email protected]>

diff --git a/redhat/scripts/rh-dist-git.sh b/redhat/scripts/rh-dist-git.sh
index blahblah..blahblah 100755
--- a/redhat/scripts/rh-dist-git.sh
+++ b/redhat/scripts/rh-dist-git.sh
@@ -39,13 +39,13 @@ $RHPKG_BIN switch-branch "$RHDISTGIT_BRANCH" || die 
"switching to branch $RHDIST
 echo "Unpacking from SRPM"
 "$REDHAT"/scripts/expand_srpm.sh "$tmpdir"
 
-echo "Uploading new tarballs"
 # upload tarballs
 sed -i "/linux-.*.tar.xz/d" "$tmpdir/$SPECPACKAGE_NAME"/{sources,.gitignore};
 sed -i "/kernel-abi-stablelists.*.tar.bz2/d" 
"$tmpdir/$SPECPACKAGE_NAME"/{sources,.gitignore};
 sed -i "/kernel-kabi-dw-.*.tar.bz2/d" 
"$tmpdir/$SPECPACKAGE_NAME"/{sources,.gitignore};
 upload_list="$TARBALL $KABI_TARBALL $KABIDW_TARBALL"
 
+echo "Uploading new tarballs: $upload_list"
 # We depend on word splitting here:
 # shellcheck disable=SC2086
 upload $upload_list

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2620
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to