diff options
Diffstat (limited to 'librerelease')
-rwxr-xr-x | librerelease | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/librerelease b/librerelease index 836cdfc..01d8d81 100755 --- a/librerelease +++ b/librerelease @@ -68,20 +68,26 @@ for _arch in ${arch[@]}; do for pkg in ${pkgname[@]}; do pkgfile="$PKGDEST/$pkg-$pkgver-$pkgrel-$_arch$PKGEXT" if [ -e "$pkgfile" ]; then -# Move out the old packages -# This has to be moved to repo-maintainer - ssh ${PARABOLAHOST} mv ${LIBREDESTDIR}/$repo/os/$_arch/$pkg-*-*-$_arch$PKGEXT ${LIBREDESTDIR}/old/ - - to_sftp "put $pkgfile ${LIBREDESTDIR}/$repo/os/$_arch/" + to_sftp "put $pkgfile ${LIBREDESTDIR}/$repo/" fi done done # Use pkgbase for the finding the sources tar [[ -z ${pkgbase} ]] && pkgbase=${pkgname} -makepkg --source + +# Upload the build scripts +makepkg -f --source to_sftp "put $SRCPKGDEST/$pkgbase-$pkgver-$pkgrel$SRCEXT ${LIBRESRCDIR}/$repo" sftp -b ${batchfile} ${PARABOLAHOST} +cat <<EOM +From: you +To: packages@list.parabolagnulinux.org +Subject: [$pkgbase] $pkgver-$pkgrel released on [$repo] + +:) +EOM + exit 0 |