Author: matthew
Date: 2010-02-03 16:01:48 -0700 (Wed, 03 Feb 2010)
New Revision: 9181
Modified:
trunk/editor-manual/book-release-process
trunk/editor-manual/release-script.sh
Log:
Fix a couple of bugs with the release script
Modified: trunk/editor-manual/book-release-process
===================================================================
--- trunk/editor-manual/book-release-process 2010-02-03 20:49:23 UTC (rev
9180)
+++ trunk/editor-manual/book-release-process 2010-02-03 23:01:48 UTC (rev
9181)
@@ -6,9 +6,12 @@
1. Ensure that all needed commits have been made by all editors.
-2, Create a tag. All the following steps will be done on that tag (not on the
- branch)
+2. Create a tag. All the following steps will be done on that tag (not on the
+ branch):
+ svn mkdir svn+ssh://svn.linuxfromscratch.org/LFS/tags/[tag-name] -m
"Create [tagname] directory
+ svn cp svn+ssh://svn.linuxfromscratch.org/LFS/trunk/BOOK
svn+ssh://svn.linuxfromscratch.org/LFS/tags/[tagname]/BOOK
+
3. Change "version" entity to x.y
4. Change "releasedate" entity if necessary
@@ -22,7 +25,7 @@
## WARNING ##
#
# From here on it is assumed that all scripts are run from your home directory
-# on belgarath. This is required to ease the automation of the release process.
+# on quantum. This is required to ease the automation of the release process.
9. Download release-script.sh from the editor-manual directory.
ENSURE THAT YOU CHECK THE "version" AND "stable" VARIABLES! Then run the
Modified: trunk/editor-manual/release-script.sh
===================================================================
--- trunk/editor-manual/release-script.sh 2010-02-03 20:49:23 UTC (rev
9180)
+++ trunk/editor-manual/release-script.sh 2010-02-03 23:01:48 UTC (rev
9181)
@@ -30,8 +30,8 @@
#######################
# These are the biggies
-stable=y # Is this the final release? 'y' or 'n' only
-version=6.5 # x.y[.z-preX]
+stable=n # Is this the final release? 'y' or 'n' only
+version=6.6-rc1 # x.y[.z-preX]
#######################
workarea=~/RELEASE-${version} # This is where you will do all your work
@@ -97,6 +97,7 @@
echo -e "${grn}*${white} Preparing ${grn}$book-HTML${white}...${norm}"
cd $workarea/original
make BASEDIR=$workarea/$book-HTML >$workarea/html.log 2>&1 || exit 9
+cp lfs-bootscripts-* udev-config-* ../
cd $workarea
tar cWf $book-HTML.tar $book-HTML || exit 19
bzip2 $book-HTML.tar || exit 29
@@ -223,6 +224,7 @@
echo
install -v -m 0664 -g $group $book.pdf \$dir/$version
echo
+ install -v -m 0664 -g $group lfs-bootscripts-* udev-config-* \$dir/$version
done
# Now untar a copy in both archives and in view
@@ -237,9 +239,9 @@
chmod -R g+w $book-HTML
chgrp -R $group $book-HTML
-cd $view
+cd $view/$version
tar -xjf $downloads/$version/$book-HTML.tar.bz2 --strip-components=1
-mv $book-HTML $version
+cd ..
chmod -R g+w $version
chgrp -R $group $version
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page