Added in to rsync the new rpms to robin with a -YYYYMMDD tag

This commit is contained in:
Tiffany Meyer 2021-06-08 10:09:25 -04:00
parent 19a484708f
commit aea0d72ace

View file

@ -59,6 +59,7 @@ if [[ $(whoami) == "awips" ]]; then # local build
sudo su - -c "createrepo -g /awips2/repo/awips2/dist/comps.xml /awips2/repo/awips2/dist/${os_version}-dev-${date}/"
sudo chown -R awips:fxalpha dist/${os_version}-dev-${date}
rsync -aP dist/${os_version}-dev-${date} awips@hardy:~/
rsync -aP dist/${os_version}-dev-${date} tomcat@robin:/web/content/repos/yum/
#repomanage -k1 --old dist/${os_version}-dev | xargs rm -f
#
# Push to web server