Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 33 lines (23 sloc) 808 Bytes
#!/bin/sh
cver="0.1.2"
lver="0.1.1"
file=`mktemp`
cat web/app/views/layouts/site.erb | sed -e s/$lver/$cver/g > $file
mv -f $file web/app/views/layouts/site.erb
cat generate_deb | sed -e s/$lver/$cver/g > $file
mv -f $file generate_deb
chmod +x generate_deb
cat bin/githaven-help | sed -e s/$lver/$cver/g > $file
mv -f $file bin/githaven-help
chmod +x bin/githaven-help
echo "githaven (${cver}-1) unstable; urgency=low" > $file
echo "" >> $file
git log v${lver}..HEAD --pretty=format:%s | sed -e 's/^/ * /g' >> $file
echo "" >> $file
echo "" >> $file
echo -n " -- Benjamin Meyer <ben@meyerhome.net> " >> $file
date --rfc-2822 >> $file
echo "" >> $file
cat debian/changelog >> $file
mv $file debian/changelog -f
echo "Bump version numbers to $cver and generate the changelog for the next release."
Something went wrong with that request. Please try again.