VERSION=2.6.0
perl -pni -e "s/verrou-dev/verrou-${VERSION}/" valgrind.diff
NB: This is released version X.Y.Z of Verrou, based on Valgrind vX.Y.Z. The development version of Verrou can always be found in the
master
branch. For other versions, please consult the list of releases.
-
Valgrind version
-
Added features
-
Other changes
-
update the Verrou version + release date
perl -pni -e "s/\[UNRELEASED\]/v${VERSION} - $(date +%Y-%m-%d)/" CHANGELOG.md
(cd .. && ./verrou/docs/update-vr-clo)
git add vr_clo.txt
-
Prepare the commit
git checkout -b release git add -- CHANGELOG.md README.md valgrind.diff git commit -m "Release v${VERSION} $(perl -n \ -e '$q=1 if m/^\-\-\-/;' \ -e 'print if ($p and not $q);' \ -e '$p=1 if m/^## /;' \ CHANGELOG.md)" git push origin release
-
Wait for github action tests to run (and verifiy the version number)
-
Tag and delete the
release
branchgit tag v${VERSION} git push origin v${VERSION}
-
Prepare a merge in the
master
branchgit checkout master git merge --no-ff --no-commit v${VERSION} git reset HEAD README.md valgrind.diff git checkout -- README.md valgrind.diff
-
Add an
[UNRELEASED]
section inCHANGELOG.md
:This version is based on Valgrind-3.21.0.
-
Commit the merge
git commit -m "Post-release v${VERSION}" git push origin master git branch -d release git push origin :release
-
Add a release message extracted from CHANGELOG.md
-
Build a tgz archive for the full valgrind+verrou release
VALGRIND=valgrind-3.23.0 cd /tmp wget https://github.com/edf-hpc/verrou/releases/download/valgrind/${VALGRIND}.tar.bz2 tar xvpf ${VALGRIND}.tar.bz2 mv ${VALGRIND} ${VALGRIND}+verrou-${VERSION} cd ${VALGRIND}+verrou-${VERSION} git clone --branch=v${VERSION} --single-branch https://github.com/edf-hpc/verrou rm -rf verrou/.git cat verrou/valgrind.*diff | patch -p1 cd .. tar cvzf ${VALGRIND}_verrou-${VERSION}.tar.gz ${VALGRIND}+verrou-${VERSION}
-
Test the archive
cd ${VALGRIND}+verrou-${VERSION} ./autogen.sh ./configure --enable-only64bit --prefix=$PWD/install make -j4 install source install/env.sh && valgrind --version make -C tests check && make -C verrou check && perl tests/vg_regtest verrou make -C verrou/unitTest
./verrou/docs/update-docs