Skip to content

Releasing

R. Bernstein edited this page Sep 5, 2025 · 3 revisions

Beforehand

  • Let people know of a pending release, e.g., mailto:bashdb-devel@sourceforge.net; no major changes before release, please
  • test on lots of platforms.
  • make distcheck should work
  • Look for patches and outstanding bugs on sourceforge.net

Change version in configure.ac

  export BASHDB_MAJOR=5.2   # adjust
  export BASHDB_MINOR=1.2.0 # adjust
  export BASHDB_VERSION=${BASHDB_MAJOR}-${BASHDB_MINOR} # adjust

Remove "devel" from configure.ac's release name. For example define(relstatus, 1.0.0)

    $ git commit . -m"Get ready for release $BASHDB_VERSION"
    $ ./autogen.sh && make && make check

Update ChangeLog:

$ git pull
$ make ChangeLog
$ codespell ChangeLog

If ChangeLog has spelling typos, make the corrections and:

$ cp ChangeLog ChangeLog-spell-corrected
$ mv -v ChangeLog.orig ChangeLog
$ diff -u ChangeLog ChangeLog.spell-corrected > ChangeLog-spell-corrected.diff
$ codespell ChangeLog
$ make ChangeLog
$ diff -u ChangeLog ChangeLog-spell-corrected

If the diff looks like it captures the corrections:

$ diff -u ChangeLog ChangeLog-spell-corrected > ChangeLog-spell-corrected.diff

Update NEWS.md from ChangeLog

Update NEWS.md from ChangeLog. Then:

    $ emacs NEWS.md
    $ git commit --amend .
    $ git push   # get CI testing going early

Check the package from GitHub.

Todo: turn this into a script in admin-tools

        $ [[ ! -d /tmp/gittest ]] && mkdir /tmp/gittest; pushd /tmp/gittest
        $ git clone git+https://github.com/Trepan-Debuggers/bashdb.git
        $ ./autogen && make && make check
  • test tarball on other systems.
  • Get onto SourceForge:
  • merge to master
git checkout master
git merge <branch>

Use the GUI https://sourceforge.net/projects/bashdb/files/bashdb.

Create a new folder; right-click to set a place to upload and hit the upload button. Dopy NEWS.md as README.md in $BASHDB_VERSION Do this via copying NEWS.md into tmp

Copy bashdb manual to web page

$ cd doc
$ rm *.html
$ make
$ scp *.html rockyb,bashdb@web.sourceforge.net:htdocs
$ # scp -i ~/.ssh/id_rsa_sourceforge *.html rockyb,bashdb@web.sourceforge.net:/home/groups/b/ba/bashdb/htdocs/
  • Bump version in configure.ac and add "dev". See the place above in removal
Clone this wiki locally