diff options
author | Bertrand Lorentz <bertrand.lorentz@gmail.com> | 2011-05-14 16:49:57 +0200 |
---|---|---|
committer | Bertrand Lorentz <bertrand.lorentz@gmail.com> | 2011-05-15 13:23:44 +0200 |
commit | ccb8520b0de2605540f093e244c28c12e1eedd1b (patch) | |
tree | 64f93bbfe6cee83bd41eabc90992d61ca3b414a4 | |
parent | 26e226069b8c26d019c1eb7e595ad330a83f2fde (diff) |
make-release: Upload the doap file to the download server
My previous update to make-release removed that step, but it turns out
the doap file is used by the Windows auto-update feature.
-rwxr-xr-x | extras/make-release | 6 | ||||
-rw-r--r-- | release-rc | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/extras/make-release b/extras/make-release index 2f66e01be..509c73e27 100755 --- a/extras/make-release +++ b/extras/make-release @@ -49,6 +49,7 @@ Release Summary Release Upload: User: ${WEB_USER} Host: ${WEB_HOST} + DOAP: ${WEB_DOAP_PATH} git tag: ${TAG_NAME} @@ -110,6 +111,11 @@ function upload_release () { scp -r release-data ${WEB_USER}@${WEB_HOST}: \ || bail "Uploading release failed" + [[ -z "${WEB_DOAP_PATH}" ]] || { + scp *.doap ${WEB_USER}@${WEB_HOST}:${WEB_DOAP_PATH} \ + || bail "Could not upload DOAP file" + } + # ( ssh ${WEB_USER}@${WEB_HOST} ftpadmin install \ # release-data/${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.bz2) \ # || bail "Could not install the tarball" diff --git a/release-rc b/release-rc index d80d1847b..5c1890d12 100644 --- a/release-rc +++ b/release-rc @@ -2,6 +2,7 @@ WEB_USER=$GNOME_FTP_USER WEB_HOST=master.gnome.org +WEB_DOAP_PATH=/ftp/pub/GNOME/sources/banshee/ #OSX_USER=Build #OSX_HOST=164.99.121.141 |