
Use:
  tool/find_repeated_error_codes.py
  tool/find_long_lines.py

Make sure files are up to date:

README:
  Version
  Released date
  Year in "cite as"
  Change version in build instructions (2 places)
  References
ChangeLog: update release info (plus release date)
CMakeLists.txt:
  PACKAGE_STRING
  PACKAGE_VERSION
doc/Makefile: Version
doc/Doxyfile: Version
src/output.F90: PARTMC_VERSION
src/partmc.F90: \page publications

git add -u
git commit -m "Update info for 2.1.0 release"

git tag -a 2.1.0 -m "Version 2.1.0"

cd ~/t
git clone ~/git/partmc
cd ~/t/partmc
git checkout 2.1

cd ~/t/partmc
# do the same thing as in partmc/.github/workflows/main.yml as follows:
docker build -t partmc-test .
docker run -it --rm -w /build partmc-test make test

cd ~/t/partmc
docker build -t partmc-doc -f Dockerfile.doc .
docker run -it --rm -v $PWD:/partmc -w /partmc/doc partmc-doc make
check README.html, ChangeLog.html and html/index.html look ok
check module diagram page

cd ~/t/partmc
mkdir build
docker run -it --rm -v $PWD:/partmc -w /partmc/build partmc-test bash -c 'cmake .. ; make package_source'


test package:

cd ~/t
tar xf ~/t/partmc/build/partmc-2.1.0.tar.gz
cd partmc-2.1.0
mkdir build
docker run -it --rm -v $PWD:/partmc -w /partmc/build partmc-test bash -c 'cmake .. ; make ; make test'


update website:

cd ~/git/web/site/partmc/
cp ~/t/partmc/build/partmc-2.1.0.tar.gz .
tar xf partmc-2.1.0.tar.gz

edit index.content
remember to add ChangeLog now
make website

push to remote:

cd ~/git/partmc
git push --tags origin master
git push --tags upstream master
