Commit 677a4bea authored by anarcat's avatar anarcat

edit the changelog in the release.sh script

parent d82de37c
......@@ -48,11 +48,12 @@ EOF
cat <<EOF
The following operations will be done:
0. prompt you for a debian/changelog entry
1. change the makefile to download tarball
2. change the upgrade.sh.txt version
3. display the resulting diff
4. commit those changes to git
5. lay down the tag (prompting you for a changelog)
5. lay down the tag
6. revert the commit
7. (optionally) push those changes
......@@ -68,6 +69,9 @@ fi
git pull --rebase
dch -v $version -D testing
git add debian/changelog
echo changing makefile to download tarball
#sed -i'.tmp' -e'/^projects\[hostmaster\]\[download\]\[type\]/s/=.*$/ = "get"/' \
# -e'/^projects\[hostmaster\]\[download\]\[url\]/s#=.*$#= "http://ftp.drupal.org/files/projects/hostmaster-'$version'.tgz"#' \
......@@ -97,7 +101,7 @@ fi
commitmsg=`git commit -m"change version information for release $version"`
echo $commitmsg
commitid=`echo $commitmsg | sed 's/^\[[^ ]* \([a-z0-9]*\)\].*$/\1/'`
git tag -a $version
sed -n '1,/ --/p' debian/changelog | git tag -a -F - $version
echo reverting tree to HEAD versions
git revert $commitid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment