Skip to content
Philippe Teuwen edited this page Apr 4, 2017 · 4 revisions

http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html

  • Finalise human-readable changelog! (ChangeLog)
  • Report any important code changes (NEWS.md)
  • Bump version in CMakeLists.txt
  • Bump version in configure.ac
  • Commit all these files
export LIBNFC_RELEASE=1.7.1
git add NEWS.md ChangeLog configure.ac CMakeLists.txt
git commit -m"Prepare $LIBNFC_RELEASE version"
git push
  • Check tarball distribution:
cd /tmp
git clone https://github.com/nfc-tools/libnfc.git
cd libnfc
autoreconf -is
./configure
make distcheck
cd ..
rm -rf libnfc/
  • Add a git tag
git tag -s libnfc-$LIBNFC_RELEASE -m"libnfc $LIBNFC_RELEASE"
git push origin libnfc-$LIBNFC_RELEASE
  • Build tarball archive
cd /tmp
git clone https://github.com/nfc-tools/libnfc.git
cd libnfc
sh make_release.sh
Clone this wiki locally