summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-08-04 17:58:39 +0100
committerRichard Hughes <richard@hughsie.com>2014-08-04 17:58:39 +0100
commit7c0a25215f7c79afd645131d64b00d36d5fc186a (patch)
treea86d20743fd175343ff05ea8d4c03f3ba0e34808 /contrib
parent779fcc840b99398fa468711d837e8af57fb15d7b (diff)
downloadappstream-glib-7c0a25215f7c79afd645131d64b00d36d5fc186a.tar.gz
trivial: Put the Fedora 21 metadata somewhere Kalev can get it
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/helpers/fedora-21.sh7
-rwxr-xr-xcontrib/screenshots/fedora-21/upload-screenshots.sh6
2 files changed, 11 insertions, 2 deletions
diff --git a/contrib/helpers/fedora-21.sh b/contrib/helpers/fedora-21.sh
index 10e493b..bc28dd0 100755
--- a/contrib/helpers/fedora-21.sh
+++ b/contrib/helpers/fedora-21.sh
@@ -7,7 +7,7 @@ time client/appstream-builder \
--extra-appstream-dir=../fedora-appstream/appstream-extra \
--extra-appdata-dir=../fedora-appstream/appdata-extra \
--extra-screenshots-dir=../fedora-appstream/screenshots-extra \
- --output-dir=./contrib/metadata \
+ --output-dir=./contrib/screenshots/fedora-21 \
--screenshot-dir=./contrib/screenshots/fedora-21 \
--basename=fedora-21 \
--screenshot-uri=http://alt.fedoraproject.org/pub/alt/screenshots/f21/
@@ -20,3 +20,8 @@ time client/appstream-builder \
./client/appstream-util status-html \
./contrib/metadata/fedora-21-failed.xml.gz \
./contrib/screenshots/fedora-21/failed.html
+
+# sync the screenshots and metadata
+cd contrib/screenshots/fedora-21/
+./upload-screenshots.sh
+cd -
diff --git a/contrib/screenshots/fedora-21/upload-screenshots.sh b/contrib/screenshots/fedora-21/upload-screenshots.sh
index 4cd6cfd..e158006 100755
--- a/contrib/screenshots/fedora-21/upload-screenshots.sh
+++ b/contrib/screenshots/fedora-21/upload-screenshots.sh
@@ -4,5 +4,9 @@ chmod a+rx 752x423
chmod a+rx source
chmod a+r */*.png
chmod a+r *.html
-rsync -v --progress 112x63 624x351 752x423 *.html applications-to-import.yaml \
+rsync -v --progress \
+ 112x63 624x351 752x423 \
+ fedora-21.xml.gz fedora-21-icons.tar.gz \
+ *.html \
+ applications-to-import.yaml \
rhughes@secondary01.fedoraproject.org:/srv/pub/alt/screenshots/f21/