barbican/rpmbuild/upload_rpm.sh
Douglas Mendizabal af9f827437 Automate rpm build.
Change-Id: Id3c4fe7590fa8c8dff827fa783880acb4beeba70
2013-07-16 13:45:31 -05:00

9 lines
267 B
Bash
Executable File

#!/bin/bash
echo "Uploading RPMs to yum-repo.cloudkeep.io"
pushd $PWD
scp rpmbuild/RPMS/noarch/*.rpm rpmbuild@yum-repo.cloudkeep.io:/var/www/html/centos/6/barbican/x86_64/
ssh rpmbuild@yum-repo.cloudkeep.io 'createrepo /var/www/html/centos/6/barbican/x86_64/'
popd