]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - release.sh
3 # Automate generation of a new release
5 # Need to first update these files:
7 # VERSION (with new version number)
8 # docs/CHANGES (with changelog and version/date string)
9 # configure.ac (with new version string)
10 # debian/changelog (with new release entry, only for release version)
14 version
=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
15 date=`date +"%-d %B %Y"`
20 echo "Updating CHANGES"
21 sed -e "s/${version}.*/${version} (${date})/" doc
/CHANGES
> doc
/CHANGES.tmp
&& \
22 mv doc
/CHANGES.tmp
doc
/CHANGES
24 echo "Commiting CHANGES update to git"
25 git commit
-a -m "${version} release"
27 echo "Tagging git repository"
28 git tag
-a -m "${version} release" v
${version}
30 echo "Making source tarball"
33 #echo "Sign the source tarball"
34 #gpg --detach-sign xfsprogs-${version}.tar.gz
36 echo "Done. Please remember to push out tags using \"git push --tags\""