Update info files
=================

  Make sure the following files are up to date:
  - NEWS
  - AUTHORS
  - README.md
  - docs/dfu-programmer.1
  - docs/dfu-programmer.html
  - fedora/dfu-programmer.spec.in

  Note that the list of devices shown in README and the docs can be auto-generated
  using dfu-programmer --targets / --targets-tex / --targets-html

  Update the version number in configure.ac and push a tag with the format `vX.Y.Z` to GitHub.

  Actions on GitHub will automatically build the release binaries and tarballs and publish them.

  If you make a mistake in the automated release, simply force push a the tag to point to the new version.


To create the source tarball
============================

  If building the tarball on Windows you need to install pkg-config.
  Get the lite version (without dependencies) from here:
  http://sourceforge.net/projects/pkgconfiglite
  The files need to go into MinGW/bin and MinGW/share/aclocal.
  
  After updating the version information in configure.ac

  ./bootstrap.sh

  ./configure

  make dist


To create the Windows binary zip
================================

  Create a folder named something like dfu-prog-usb-1.2.2 containing the Atmel
  driver set from FLIP. Be sure to include Atmel's COPYING notice too.

  Copy dfu-programmer.exe to the parent of this directory.

  Copy the html man page from the doc folder.

  In the parent directory create a zip archive containing the executable, man page and the
  dfu-prog-usb-x.x.x directory.


Upload
======

  Upload the tarball and in file information mark it as the default for everything except Windows.
  Set the description as "x.x.x tarball"

  Upload the Windows package and mark it as the default for Windows.
  Set the description as "x.x.x Windows binary with USB driver"

  Upload the SF-ReadMe.txt file as ReadMe.txt


Web page update
===============

  Update the dfu-programmer.github.io repository. As soon as the changes
  are pushed back to the repo the web page will update.
