11. Change version number in 2 - /configure.ac 3 - /CMakeLists.txt 4 - /doc/Doxyfile.in 5 - /man/flac.md 6 - /man/metaflac.md 7 - /test/metaflac-test-files/case07-expect.meta 81. Change version date in 9 - /src/libFLAC/format.c 10 - /test/metaflac-test-files/case07-expect.meta 111. Update changelog 121. Check copyright year and update if applicable 131. Check libFLAC and libFLAC++ for interface changes and update 14 version numbers in include/FLAC/export.h, include/FLAC++/export.h, 15 src/libFLAC/Makefile.am, src/libFLAC++/Makefile.am, 16 src/libFLAC/CMakeLists.txt and src/libFLAC++/CMakeLists.txt 171. Prepare and check release tarball by running 18 `git clean -ffxd && ./autogen.sh && ./configure && make distcheck` 191. Check whether release tarball contains api documentation and 20 generated man pages 211. Prepare Windows release. Instructions are for building with MinGW-w64 22 - Take last release as template 23 - Update readme's if necessary 24 - Copy changelog and tool documentation 25 - Unpack tarball and create empty directories build64 and build32 26 - Unpack most recent libogg: change 27 `add_library(ogg ${OGG_HEADERS} ${OGG_SOURCES})` to 28 `add_library(ogg STATIC ${OGG_HEADERS} ${OGG_SOURCES})` 29 - Add `-static-libgcc` to FLAC's CFLAGS 30 - Add `-static-libgcc -static-libstdc++ -Wl,-Bstatic,--whole-archive 31 -lwinpthread -Wl,-Bdynamic,--no-whole-archive` to FLAC's CXXFLAGS 32 - Run `CMake -DBUILD_SHARED_LIBS=ON .. && ninja` in both build64 and 33 build32 in the corresponding build environments 34 - Check dependencies of flac.exe, metaflac.exe, libFLAC.dll and 35 libFLAC++.dll, e.g. with objdump -x *.* | grep DLL. 36 Dependencies should only include KERNEL32.DLL, ADVAPI32.DLL, 37 msvcrt.dll and libFLAC.dll 38 - Copy flac.exe, metaflac.exe, libFLAC.dll and libFLAC++.dll of both 39 builds to proper directories 40 - Zip directory 41