-
Notifications
You must be signed in to change notification settings - Fork 173
Release Procedure
Stefan Rueger edited this page Jun 25, 2025
·
12 revisions
-
CMakeLists.txt– for CMake -
NEWS– "changes since " => "changes in " git commit -a
cd src./bootstrap-
./configure --enable-parport --enable-linuxspi --enable-linuxgpii --enable-doc– prepare for docs with all programmers -
make distcheck– on *BSD, use GNU make (or runmake -k) - result:
avrdude-version.tar.gz– but that's nowhere used?
cd [src/]doc-
make– on *BSD, use GNU make - result:
avrdude.pdf,avrdude-html/ - keep them somewhere for later
cd ../.../build.sh- this is already tested by CI anyway
If all went well so far:
-
git tag vnewvers – always start with a lowercase letterv, followed by major number dot minor number git push --tags- CI should prepare Github release now, and publish it
-
NEWS: add template lines for "changes since " git commit -agit push
Official documentation is located on Github pages, and automatically updated
there from a branch named onlinedocs.
git checkout onlinedocs-
mkdir docs/newrelease – novhere, just major dot minor number -
cd docs/newrelease -
cp ../../src/doc/avrdude-html/* .– the docs previously built cp ../../src/doc/avrdude.pdf .cd ..$EDITOR index.html- add links to new newvers
/avrdude.htmland newvers/avrdude.pdf -
git addnewvers git add index.htmlgit commitgit pushcd ..-
git checkout main– just don't forget to switch away from the docs branch
- download source archives (
.tar.gzand.zip) from Github release area - verify they are correct (unpack, and compare against local tree ...)
-
gpg --sign --detachfor both archives - include GPG signatures in release assets
-
$EDITOR src/CMakeLists.txt# for VERSION and SOVERSION git commit src/CMakeLists.txt -m"Increment libavrdude version"git push