3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
6 # Upload to File Release System on serfullver
11 fullver="bacula-7.2.0"
12 RSYNC="rsync -av --no-g --progress $upload_opt"
17 echo "Creating ${where}:/var/www/bacula/downloads/$fullver"
19 cd /var/www/bacula/downloads/
23 echo "Uploading source"
24 for i in bacula-*-$ver*; do \
25 echo "Uplod $i to ${where}:/var/www/bacula/downloads/$fullver"
26 $RSYNC $i ${where}:/var/www/bacula/downloads/$fullver/; \
29 # Upload release notes
30 echo "Uplod ReleaseNote to ${where}:/var/www/bacula/downloads/$fullver"
31 $RSYNC ReleaseNotes ${where}:/var/www/bacula/downloads/$fullver/
32 echo "Uplod ChangeLog to ${where}:/var/www/bacula/downloads/$fullver"
33 $RSYNC ChangeLog ${where}:/var/www/bacula/downloads/$fullver/