[gst-cvs] www: Jan Schmidt : Start modifying the new release script for git

Jan Schmidt thaytan at kemper.freedesktop.org
Thu Feb 19 04:02:00 PST 2009


Module: www
Branch: master
Commit: be2a8b2a8e80a5530a0ccba0c95e018b63eeb350
URL:    http://cgit.freedesktop.org/gstreamer/www/commit/?id=be2a8b2a8e80a5530a0ccba0c95e018b63eeb350

Author: Jan Schmidt <thaytan at noraisin.net>
Date:   Tue Jan 27 14:57:57 2009 +0000

Start modifying the new release script for git

---

 bin/new-release |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/bin/new-release b/bin/new-release
index 7560532..02a02d4 100755
--- a/bin/new-release
+++ b/bin/new-release
@@ -42,7 +42,7 @@ moduledir=$modulebasedir/$module
 
 echo "Updating CVS"
 pushd $moduledir > /dev/null 2>&1
-cvs up
+git pull
 popd
 
 release=src/htdocs/releases/$module/$version
@@ -80,6 +80,8 @@ else
   echo Updating $makefileam
   perl -i.bak -p -e "s@(releases =)@\$1 $version@" $makefileam
 fi
+# Mark for committing
+git add $makefileam
 
 # update configure.ac
 configureac=$moduledir/configure.ac
@@ -110,14 +112,15 @@ else
   cat $changelog.bak >> $changelog
 fi
 
-# FIXME: add to cvs
-cvs add $release.xml
-
 echo "Now press Enter to edit the next .xml file and update the list of features and API changes"
 read
 
 $EDITOR $release.xml
 
+# Mark for committing
+git add $release.xml
+
+
 echo "Building website"
 make
 
@@ -157,11 +160,11 @@ then
   echo "Press Enter to commit updates to .po files"
   read
   pushd $moduledir > /dev/null 2>&1
-  cvs commit -m "Update .po files" po/*.po
+  git commit -m "Update .po files" po/*.po
   popd
 fi
 
 cd $moduledir
-cvs diff > release.diff
-echo "Press Enter to review the CVS diff"
+git diff > release.diff
+echo "Press Enter to review the git diff"
 less -R release.diff





More information about the Gstreamer-commits mailing list