-
Notifications
You must be signed in to change notification settings - Fork 67
Versioning and release procedure
sprintersb edited this page Oct 7, 2025
·
11 revisions
AVR-LibC uses a two-dot version numbering.
- Leftmost major version number is bumped if the API changes in incompatible ways.
- Middle minor version number is bumped for each new main release.
- Rightmost revision number is only bumped if there is a need for urgent bugfixes upon a previous dot-zero main release.
-
configure.ac: - blank out
avr_libc_revision_suffix(minor version should have been bumped already) - bump
avr_libc_reldate -
NEWS.md– "changes since " => "changes in ", bump release git commit -a
./bootstrap-
./configure --build=$(./config.guess) --host=avr --enable-doc– also prepare for docs -
make distcheck– on *BSD, use GNU make - result:
avr-libc-version.tar.bz2
cd doc/api-
make– on *BSD, use GNU make - result:
avr-libc-user-manual-_version_.pdf,avr-libc-user-manual-_version_/ - keep them somewhere for later
If all went well so far:
-
git tag avr-libc-newvers-release (use underscores between numbers) git push; git push --tags
-
gpg --sign --detachfor the source archive (.tar.bz2)
- go to Github "code" page
- press "Create a new release"
- select appropriate tag
- set title to "AVR-LibC newvers released"
- a bit of description
- select the release tarball and GPG signature for uploading
- publish release
- Github also adds "Source code" archives, based on the tag chosen
-
configure.ac- set
avr_libc_revision_suffixtogit - bump
avr_libc_reldateagain - bump
avr_libc_minor
- set
-
NEWS.md: 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 onlinedocsgit merge maincp LICENSE docs/LICENSE.txt-
cd doc/api; tar -cjf avr-libc-user-manual-version.tar.bz2 avr-libc-user-manual-version; cd ../.. -
cp doc/api/avr-libc-user-manual-version.tar.bz2 docs -
cp doc/api/avr-libc-user-manual-version.pdf docs -
cd docs; tar xf avr-libc-user-manual-version.tar.bz2; cd .. -
git add -f docs/avr-libc-user-manual-version* -
$EDITOR docs/index.html– include new documentation, update link target of "Most recent" entry git add docs/index.html; git commit; git push-
git checkout main– just don't forget to switch away from the docs branch