Skip to content
jtniehof edited this page Jan 2, 2012 · 6 revisions

Update the man page

Double-check that it’s up to date, and change the version number and date if so. (Otherwise, update it, then change version number/date). Remember to push the changes.

Update the version number and dates elsewhere

README file, C sources, configure.ac

Tag the repository

git tag -s v0.1 -m "Release 0.1" (References: git for the lazy git-tag man page git user manual Pro git)

Tag with the version number preceded by “v”.

git push origin --tags to push the tags to the server.

Set up configure

autoreconf --install (reference)

Build the archive

In the directory above the source:

  • mkdir build
  • cd build
  • ../src/configure
  • make
  • make distcheck

Upload

Click on the Downloads tab of github, select and upload the .tar.bz2

Clean up

Remove the build directory, and in src: rm -rf Makefile.in Makefile aclocal.m4 autom4te.cache/ build-aux/ config.h.in configure src/Makefile.in src/Makefile stamp-h1 config.h config.log config.status INSTALL

Clone this wiki locally