blob: 040d7b2d09de9ed573f1751b0b4f98a7ad83658e [file] [log] [blame]
#!/bin/sh
set -e
echo "Removing old download artifacts from the site."
if [ $# -ne 1 ]; then
echo "Usage: $0 <version>"
exit 1
fi
VERSION=$1
DIST_REPOSITORY=https://dist.apache.org/repos/dist/release/myfaces
svn del --force -m "Cleaning up old release artifact ${VERSION} from dist server" \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.tar.gz \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.tar.gz.asc \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.tar.gz.md5 \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.tar.gz.sha1 \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.tar.gz.sha256 \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.zip \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.zip.asc \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.zip.md5 \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.zip.sha1 \
${DIST_REPOSITORY}/binaries/trinidad-assembly-${VERSION}-dist.zip.sha256 \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.tar.gz \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.tar.gz.asc \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.tar.gz.md5 \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.tar.gz.sha1 \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.tar.gz.sha256 \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.zip \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.zip.asc \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.zip.md5 \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.zip.sha1 \
${DIST_REPOSITORY}/binaries/trinidad-example-assembly-${VERSION}-example.zip.sha256 \
${DIST_REPOSITORY}/source/trinidad-${VERSION}-source-release.zip \
${DIST_REPOSITORY}/source/trinidad-${VERSION}-source-release.zip.asc \
${DIST_REPOSITORY}/source/trinidad-${VERSION}-source-release.zip.md5 \
${DIST_REPOSITORY}/source/trinidad-${VERSION}-source-release.zip.sha1 \
${DIST_REPOSITORY}/source/trinidad-${VERSION}-source-release.zip.sha256