Convex main repository is structured as a multi-module Maven project.
- Merge from
master
branch, ensure in sync - Merge any other branches for release
mvn clean package
Remember to test headless (i.e. no GUI) e.g. with CI server.
First set the version number for the new version to be released
mvn versions:set -DnewVersion='0.8.0' -DartifactId=* -DgroupId=*
Need to make sure CHANGELOG.md
is fully up to date before deploy
- Finalise CHANGELOG for current version
- Annotate with date
- Commit to release branch
mvn clean deploy -DperformRelease
- Merge to
master
branch - Tag Release Commit on merge
- Push to GitHub!
- Merge
master
back intodevelop
- Create new CHANGELOG "Unreleased" section for next version
- Run
mvn versions:set -DnewVersion='0.7.4-SNAPSHOT'
for next snapshot version as required
To build a peer container using docker in the current directory from the provided Dockerfile
docker build -t convexlive/convex:latest .
To deploy to docker hub:
docker login -u "convexlive" docker.io
docker push convexlive/convex
It is the intention that builds should be repeatable. Any issues, please report!
Some IDEs (including Eclipse) may not automatically recognise the source directory for generated ANTLR4 source files. A manual fix is to add "target/generated-sources/antlr4" as a source directory in the project build path.