From 3b58c6fb54eb6ba49d6a807c7b9bcf8be99c5229 Mon Sep 17 00:00:00 2001
From: Philipp Hagemeister <phihag@phihag.de>
Date: Tue, 25 Jun 2013 18:45:12 +0200
Subject: [PATCH] Update latest files on release

---
 devscripts/release.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devscripts/release.sh b/devscripts/release.sh
index f43f4ba70..320a8fa0f 100755
--- a/devscripts/release.sh
+++ b/devscripts/release.sh
@@ -71,6 +71,7 @@ git checkout HEAD -- youtube-dl youtube-dl.exe
 for f in $RELEASE_FILES; do gpg --detach-sig "build/$version/$f"; done
 scp -r "build/$version" ytdl@yt-dl.org:html/tmp/
 ssh ytdl@yt-dl.org "mv html/tmp/$version html/downloads/"
+ssh ytdl@yt-dl.org "cd html/ && sh update_latest.sh $version"
 
 /bin/echo -e "\n### Now switching to gh-pages..."
 git clone --branch gh-pages --single-branch . build/gh-pages