-
Notifications
You must be signed in to change notification settings - Fork 136
Release Procedure
Jörg Wunsch edited this page Jun 9, 2024
·
10 revisions
-
CMakeLists.txt
– for CMake -
NEWS
– "changes since " => "changes in " git commit -a
cd src
./bootstrap
-
./configure --enable-doc
– also prepare for docs -
make distcheck
– on *BSD, use GNU make (or runmake -k
) - result:
avrdude-
version.tar.gz
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 v
newvers – 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
-
src/configure.ac
(add date tag after release name) -
NEWS
: add template lines for "changes since " git commit -a
git push
Official documentation is located on Github pages, and automatically updated
there from a branch named onlinedocs
.
git checkout onlinedocs
-
mkdir docs/
newrelease – nov
here, 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.html
and newvers/avrdude.pdf
-
git add
newvers git add index.html
git commit
git push
cd ..
-
git checkout main
– just don't forget to switch away from the docs branch
- download source archives (
.tar.gz
and.zip
) from Github release area - verify they are correct (unpack, and compare against local tree ...)
-
gpg --sign --detach
for both archives - include GPG signatures in release assets
-
$EDITOR src/CMakeLists.txt
# for VERSION and SOVERSION -
$EDITOR src/Makefile.am
# for libavrdude_la_LDFLAGS git commit src/CMakeLists.txt src/Makefile.am -m"Increment libavrdude version"
git push