NB: The following example prepares a release for OpenSRF version 3.3.2. Be sure to adjust version numbers as appropriate for whatever release number you are building.
$ git checkout -b rel_3_3 origin/rel_3_3
doc/RELEASE_NOTES.txt
version.m4
$ git commit -as -m 'Bump up version numbers for 3.3.2'
$ # get the date of the last commit to the previous release $ git show osrf_rel_3_3_1 # last commit was 2024-06-25 $ # this is not perfect, but it's close enough... $ git log --numstat --since 2024-06-26 > ChangeLog $ git add ChangeLog $ git commit -sm 'Update ChangeLog for 3.3.2'
git push origin rel_3_3
$ git tag -a osrf_rel_3_3_2 -m 'OpenSRF release 3.3.2' $ git push --tags
/tmp
in the following example) and generate a tarball that contains the autotools-ized files:$ git archive --prefix=opensrf-3.3.2/ rel_3_3 | tar -C /tmp -xv $ cd /tmp/opensrf-3.3.2/ $ autoreconf -i $ cd .. $ tar zcvf opensrf-3.3.2.tar.gz opensrf-3.3.2/ $ md5sum opensrf-3.3.2.tar.gz > opensrf-3.3.2.tar.gz.md5 $ cp opensrf-3.3.2/ChangeLog OpenSRF-ChangeLog-3.3.2 $ cp opensrf-3.3.2/README README_3_3_2.adoc $ cp opensrf-3.3.2/doc/RELEASE_NOTES.txt RELEASE_NOTES_3_3_2.adoc $ asciidoc -a toc -a numbered README_3_3_2.adoc $ asciidoc -a toc -a numbered RELEASE_NOTES_3_3_2.adoc # Copy the bundle to the community server $ scp -P 3399 OpenSRF-ChangeLog-3.3.2 opensrf-3.3.2.tar.gz* *.html evergreen-ils.org:~/
make check
passes./var/www/open-ils.org/downloads/previews/
/var/www/open-ils.org/downloads/
/var/www/open-ils.org/documentation/install/OpenSRF/
/var/www/open-ils.org/documentation/release/OpenSRF/