You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@excalibur.apache.org by sc...@excalibur.apache.org on 2004/06/15 05:05:09 UTC
[Excalibur Wiki] New: ReleaseManagement
Date: 2004-06-14T20:05:09
Editor: 69.40.190.187 <>
Wiki: Excalibur Wiki
Page: ReleaseManagement
URL: http://wiki.apache.org/excalibur/ReleaseManagement
just a dump of LSD's email -farra
New Page:
= Release Management =
see also: http://wiki.apache.org/avalon/AvalonReleaseManagerHowto
----
{{{
* get your gpg key into a file called KEYS that needs to be created
at
https://svn.apache.org/repos/asf/excalibur/trunk/KEYS
* copy this file to
/www/www.apache.org/dist/excalibur
which I've already set up (I just checked, Noel added mnash
and mauro to the appropriate group, so you should have write
access unlike most of the rest of us), ie
wget https://svn.apache.org/repos/asf/excalibur/trunk/KEYS
scp KEYS minotaur.apache.org:/www/www.apache.org/dist/excalibur
* update project.xml. Probably need to change the version numbers.
Commit the changes.
cd ~/svn/excalibur/trunk
vim instrument/project.xml
vim instrument-manager/project.xml
vim instrument-client/project.xml
svn commit -m 'prepare for releases'
or something like that.
* tag appropriate files in svn to mark the release candidates
svn copy \
https://svn.apache.org/repos/asf/excalibur/trunk/instrument
https://svn.apache.org/repos/asf/excalibur/tags/instrument-1.2-RC1
svn copy \
https://svn.apache.org/repos/asf/excalibur/trunk/instrument-manager
https://svn.apache.org/repos/asf/excalibur/tags/instrument-manager-1.2-RC1
svn copy \
https://svn.apache.org/repos/asf/excalibur/trunk/instrument-client
https://svn.apache.org/repos/asf/excalibur/tags/instrument-client-1.2-RC1
or something like that.
* build distributions, ie
maven multiproject:install
cd instrument
maven dist
cd ../instrument-manager
maven dist
cd ../instrument-client
maven dist
or something like that.
* copy the releases somewhere, ie
mkdir releases
find . -path './instrument-.*/target/.*(gz|zip|jar)' \
| xargs cp --target-directory=releases
or something like that.
* temporary get rid of your gpg passphrase
sudo /sbin/ifdown eth0
gpg --edit-key <YOUR ID>
> key <YOURKEY>
> passwd
<YOUR PASSPHRASE>
<enter>
<enter>
yes
quit
yes
or something like that.
* sign the releases
cd releases
for i in `ls`; do
gpg -v --output $i.asc --detach-sig --armor $i
done
or something like that.
* restore your gpg passphrase
gpg --edit-key <YOUR ID>
> key <YOURKEY>
> passwd
<YOUR PASSPHRASE>
<YOUR PASSPHRASE>
quit
yes
sudo /sbin/ifup eth0
or something like that.
* upload distributions to your personal webspace at apache
ssh minotaur.apache.org
umask 002
mkdir -p ~/public_html/excalibur/release-candidates
chmod o+rx ~ ~/public_html ~/public_html/excalibur \
~/public_html/release-candidates
exit
umask 002
scp * minotaur.apache.org:~/public_html/excalibur/release-candidates
or something like that.
* ask for feedback on dev@excalibur
* probably go through several iterations of the above as some
last-minute bugs are hammered out
* call for a PMC vote to release the files
* if the vote passes, tag svn again and copy your candidates
to the distribution server
svn copy \
https://svn.apache.org/repos/asf/excalibur/trunk/instrument
https://svn.apache.org/repos/asf/excalibur/tags/instrument-1.2
ssh minotaur.apache.org
umask 002
mkdir /www/www.apache.org/dist/excalibur/instrument
mkdir /www/www.apache.org/dist/excalibur/instrument-manager
mkdir /www/www.apache.org/dist/excalibur/instrument-client
cd ~/public_html/excalibur/release-candidates/
cp -r excalibur-instrument-1.2.* \
/www/www.apache.org/dist/excalibur/instrument
cp -r excalibur-instrument-manager-1.2.* \
/www/www.apache.org/dist/excalibur/instrument-manager
cp -r excalibur-instrument-client-1.2.* \
/www/www.apache.org/dist/excalibur/instrument-client
or something like that.
* send out announcements to the appropriate mailing lists
}}}
---------------------------------------------------------------------
To unsubscribe, e-mail: scm-unsubscribe@excalibur.apache.org
For additional commands, e-mail: scm-help@excalibur.apache.org