...
After the vote, if the distribution is being mirrored (there was a favourable release vote) copy the Sources and Binariesmove all the artefacts from dev
folder into release
folder:
Code Block |
---|
ssh people.apache.org cd /www/peoplesvn mv https://dist.apache.org/buildsrepos/struts/$VERSION cp struts-$VERSION-src.* /www/www.apache.org/dist/struts/source cp struts-$VERSION-docs.* /www/www.apache.org/dist/struts/documentation cp struts-$VERSION-lib.* /www/wwwdist/dev/struts/$VERSION/ https://dist.apache.org/dist/struts/library cp struts-$VERSION-apps.* /www/www.apache.org/dist/struts/examples cp struts-$VERSION-all.* /www/www.apache.org/dist/struts/binaries repos/dist/release/struts/ |
Promote release
Log in again to Nexus and release the repository, it will be automatically replicated across Maven Repositories
See Releasing a Maven-based project for further details.
...
Remove the old files from under https:/www/wwwdist.apache.org/repos/dist/release/struts/ to to synchronise only the latest version with peers. All the files from https:/www/wwwdist.apache.org/repos/dist/release/ are struts/ are always mirrored to http://archive.apache.org/dist/struts/. You You can use the below command:
No Format |
---|
cdsvn del https:/www/wwwdist.apache.org/repos/dist/release/struts/ find . -type f -name "struts-2.3.x*" -exec rm -f {} \;/ |
where x
is the previous version to remove (or one more previous to keep current and one version back).
...