Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

cd $X_STAGING
rm -rf dist 
svn co https://dist.apache.org/repos/dist/dev/juneau dist
svn rm dist/source/*
svn rm dist/binaries/*
mkdir dist/source/$X_RELEASE
mkdir dist/binaries/$X_RELEASE 
cd $X_STAGING/dist/source/$X_RELEASE
wget -e robots=off --recursive --no-parent --no-directories -A "*-source-release*" https://repository.apache.org/content/repositories/$X_REPO/org/apache/juneau/
mv juneau-${X_VERSION}-source-release.zip apache-juneau-${X_VERSION}-src.zip
mv juneau-${X_VERSION}-source-release.zip.md5asc apache-juneau-${X_VERSION}-src.zip.md5asc
mv juneau-${X_VERSION}-source-release.zip.ascmd5 apache-juneau-${X_VERSION}-src.zip.asc
mv md5
gpg --print-md SHA512 apache-juneau-${X_VERSION}-source-releasesrc.zip.sha1 > apache-juneau-${X_VERSION}-src.zip.sha1sha512
rm *.asc.md5sha1
cd $X_STAGING/dist/binaries/$X_RELEASE
wget -e robots=off --recursive --no-parent --no-directories -A "juneau-distrib*-bin.zip*" https://repository.apache.org/content/repositories/$X_REPO/org/apache/juneau/
mv juneau-distrib-*${X_VERSION}-bin.zip apache-juneau-${X_VERSION}-bin.zip
mv juneau-distrib-${X_VERSION}-bin.zip.md5asc apache-juneau-${X_VERSION}-bin.zip.md5asc
mv juneau-distrib-${X_VERSION}-bin.zip.ascmd5 apache-juneau-${X_VERSION}-bin.zip.asc
mv juneau-distribmd5
gpg --print-md SHA512 apache-juneau-${X_VERSION}-bin.zip.sha1 > apache-juneau-${X_VERSION}-bin.zip.sha1sha512
rm *.asc.md5sha1
cd $X_STAGING/dist
svn add source/$X_RELEASE
svn add binaries/$X_RELEASE
svn commit -m "$X_RELEASE"

...