- Make sure autogenerated code is clean
  cd main/src;git clean -df;cd ../..;./gradlew autogenerate
- Make sure all unit tests pass
  ./gradlew test
- Update change.txt
- Update version in maven central in README.MD
- Update version in build.gradle
- Examples might need to be updated too
  * git diff --name-status TAG_NAME examples
- Update project website
  cd docs/website
  conf.py <--- text substitution is now used to spread the version name
  index.rst <-- just the date
  rm -rf _build;make html;cd _build;rm html.zip;zip -r html.zip html/
- Commit and tag release
- Create zip and jar files
  VERSION=v0.22;PRJNAME=georegression-$VERSION
  git clone -b SNAPSHOT git@github.com:lessthanoptimal/GeoRegression.git $PRJNAME
  cd $PRJNAME;./gradlew autogenerate;./gradlew createVersionFile;rm -rf .git;cd ..;zip -r $PRJNAME-src.zip $PRJNAME
  cd $PRJNAME;./gradlew createLibraryDirectory;mv libraries ../$PRJNAME-libs;cd ..;zip -r $PRJNAME-libs.zip $PRJNAME-libs
- Update JavaDoc
  rm -rf build/doc/javadoc;./gradlew javadocWeb;zip -r api.zip build/docs/javadoc

-----
Uploading Releases to Maven Central

To post a SNAPSHOT:
./gradlew uploadArchives

To post a full release:
./gradlew assemble;./gradlew uploadArchives -Dorg.gradle.parallel=false

A SNAPSHOT is created if SNAPSHOT is in its name.

- Then go to the website  https://oss.sonatype.org/
  * click close button
  * double check the files
  * click release button
