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 /extras | |
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.
Diffstat (limited to 'extras')
-rwxr-xr-x | extras/make-release | 6 |
1 files changed, 6 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" |