diff --git a/publish_release_rpms b/publish_release_rpms new file mode 100755 index 0000000..2e9255b --- /dev/null +++ b/publish_release_rpms @@ -0,0 +1,19 @@ +#!/bin/bash -e + +. settings + +USER='rpmrepo' +HOST='rpm.theforeman.org' + +OVERWRITE=true +MERGE=false + +for os in $OSES; do + if [[ "$PROJECT" == "pulpcore" || "$PROJECT" == "candlepin" ]];then + PATH="$PROJECT/$VERSION/$os" + else + PATH="foreman/$VERSION/$PROJECT/$os" + fi + + ssh "$USER@$HOST" "$PATH" "$PATH" "$OVERWRITE" "$MERGE" +done