Author: gozer
Date: Thu Apr 17 01:02:01 2008
New Revision: 648991
URL: http://svn.apache.org/viewvc?rev=648991&view=rev
Log:
Cleanup the RELEASE instructions for next time.
Modified:
perl/modperl/trunk/Makefile.PL
perl/modperl/trunk/RELEASE
Modified: perl/modperl/trunk/Makefile.PL
URL:
http://svn.apache.org/viewvc/perl/modperl/trunk/Makefile.PL?rev=648991&r1=648990&r2=648991&view=diff
==============================================================================
--- perl/modperl/trunk/Makefile.PL (original)
+++ perl/modperl/trunk/Makefile.PL Thu Apr 17 01:02:01 2008
@@ -817,7 +817,6 @@
tag :
svn copy https://svn.apache.org/repos/asf/perl/modperl/trunk
https://svn.apache.org/repos/asf/perl/modperl/tags/$(VERSION_SYM)
svn copy https://svn.apache.org/repos/asf/perl/modperl/docs/trunk
https://svn.apache.org/repos/asf/perl/modperl/docs/tags/$(VERSION_SYM)
- @$(ECHO) update mod_perl2.pm VERSION now
EOF
return $string;
Modified: perl/modperl/trunk/RELEASE
URL:
http://svn.apache.org/viewvc/perl/modperl/trunk/RELEASE?rev=648991&r1=648990&r2=648991&view=diff
==============================================================================
--- perl/modperl/trunk/RELEASE (original)
+++ perl/modperl/trunk/RELEASE Thu Apr 17 01:02:01 2008
@@ -75,18 +75,24 @@
% make -n tag
d. commit Changes README Makefile.PL
- % svn ci Changes README Makefile.PL
+ % svn ci -m "Releasing 2.0.5" Changes README Makefile.PL
e. tag
% make tag
f. Update the svn:externals in the new tag
(you can't propedit remotely yet in svn)
- svn co https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_5
- svn propedit svn:externals 2_0_5
- Update the Apache-Test line to the tag you previously created.
+ % svn co https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_5
+ % svn propedit svn:externals 2_0_5
+ Update the Apache-Test line to current revision
+ % svn info https://svn.apache.org/repos/asf/perl/Apache-Test/trunk | grep
"Last Changed Rev"
Update the docs line to the current tag.
- svn ci
+ It should look like:
+ % svn propget svn:externals 2_0_5
+ Apache-Test -r 608229
https://svn.apache.org/repos/asf/perl/Apache-Test/trunk
+ docs
https://svn.apache.org/repos/asf/perl/modperl/docs/tags/2_0_5/src/docs/2.0
+
+ % svn ci -m "Releasing 2.0.5"
g. create the final package
% make dist
@@ -95,7 +101,7 @@
4. Release the package and update links (e.g. mod_perl-2.0.5.tar.gz)
- a. upload to www.apache.org:/www/perl.apache.org/dist/
+ a. upload to perl.apache.org:/www/perl.apache.org/dist/
% scp mod_perl-2.0.5.tar.gz perl.apache.org:/www/perl.apache.org/dist/
@@ -117,17 +123,20 @@
/www/perl.apache.org/dist/old
% rm -rf /www/perl.apache.org/dist/mod_perl-2.0.3
- d. update the version and release date
- modperl-docs/src/download/index_top.html and commit. It'll be
- automatically updated within 6 hours. Alternatively you can do a
- manual update by logging into www.apache.org and running:
-
- % /home/perlwww/apache.org/modperl-docs/bin/site_build
+ d. update the version and release date in the docs:
+ % vi modperl-docs/src/download/index_top.html
+ % vi modperl-docs/doap_Perl.rdf
- e. update our projects.apache.org doap file with the new release
- version and date
+ and commit.
+ % svn ci -m "Releasing 2.0.5" \
+ modperl-docs/src/download/index_top.html \
+ modperl-docs/doap_Perl.rdf
+
+ It'll be automatically updated within 6 hours. Alternatively
+ you can do a manual update by logging into www.apache.org and
+ running:
- % vi modperl-docs/doap_Perl.rdf
+ % /home/perlwww/apache.org/modperl-docs/bin/site_build
5. Upload the package to CPAN
@@ -142,10 +151,10 @@
% pgps -b --armor mod_perl-2.0.5.tar.gz
- b. upload the generated sig file to www.apache.org:
+ b. upload the generated sig file to perl.apache.org:
% scp mod_perl-2.0.5.tar.gz.asc perl.apache.org:/www/perl.apache.org/dist/
- % ssh www.apache.org
+ % ssh perl.apache.org
% cd /www/perl.apache.org/dist/
% chmod 0664 mod_perl-2.0.5.tar.gz.asc
% ln -sf mod_perl-2.0.5.tar.gz.asc mod_perl-2.0-current.tar.gz.asc
@@ -163,8 +172,8 @@
d. make sure that the files you just created are group rw so
all the dist admins can make changes:
- % find /www/perl.apache.org/dist/ -user $USER -type f -exec chmod 0664 {}
\;
- % find /www/perl.apache.org/dist/ -user $USER -type d -exec chmod 0775 {}
\;
+ % find /www/perl.apache.org/dist/ -user $USER -type f -print0 | xargs -0
chmod 0664
+ % find /www/perl.apache.org/dist/ -user $USER -type d -print0 | xargs -0
chmod 0775
7. Distribute to www.apache.org/dist/perl
and archive the old package under /www/archive.apache.org/dist/perl/
@@ -181,8 +190,8 @@
all the dist admins can make changes:
- % find /www/www.apache.org/dist/ -user $USER -type f -exec chmod 0664 {}
\;
- % find /www/www.apache.org/dist/ -user $USER -type d -exec chmod 0775 {}
\;
+ % find /www/www.apache.org/dist/perl/ -user $USER -type f -print0 | xargs
-0 chmod 0664
+ % find /www/www.apache.org/dist/perl/ -user $USER -type d -print0 | xargs
-0 chmod 0775
8. Announce the package
@@ -210,7 +219,7 @@
d. update this file versions to make it easy to copy-n-paste things
on the next release:
- $ perl -pi -e 's/(\d+)\.(\d+)\.(\d+)/join(".", $1, $2, $3+1)/eg' RELEASE
+ $ perl -pi -e 's/(\d+)([._])(\d+)(\2)(\d+)/join($2, $1, $3, $5+1)/eg'
RELEASE
e. commit the changed files
@@ -220,4 +229,4 @@
10. Old Versions
Remind other Developers to delete versions older then the prior release
- from CPAN. Old releases can always be found on BackPan.
+ from CPAN. Old releases can always be found on BACKPAN.