summaryrefslogtreecommitdiffstats
path: root/jjb/rpm_dpdk/include-raw-rpm_dpdk-pkg-push.sh
blob: b9b9c4debadbdc66c8657c2a0bdc0bfe88dc4a88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# basic build script example
set -e -o pipefail
echo "Looking for rpms to publish"
# Find the files
RPMS=$(find . -type f -iname '*.rpm')
SRPMS=$(find . -type f -iname '*.srpm')
SRCRPMS=$(find . -type f -name '*.src.rpm')
echo "Found RPMS=${RPMS}"
echo "Found SRPMS=${SRPMS}"
echo "Found SRCRPMS=${SRCRPMS}"
for i in $RPMS $SRPMS $SRCRPMS
do
    push_rpm "$i"
done