This document describes the release process for Criterium.
develop - Main development branch where features are mergedmaster - Release branch, should only contain release-ready codeReleases are automated via GitHub Actions. The workflow handles:
Before releasing, ensure:
The Release environment is configured in GitHub repository settings with:
CLOJARS_USERNAME secretCLOJARS_PASSWORD secretThe version in build/src/build/version.clj is set correctly
Merge develop into master:
git checkout master
git pull origin master
git merge develop
git push origin master
Run dry-run release:
master branchdry_run: true (default)Perform actual release:
dry_run: falsePost-release:
build/src/build/version.clj for next development cyclechore: bump version to X.Y.Z-SNAPSHOTTags follow semantic versioning: vMAJOR.MINOR.PATCH
Examples:
v0.5.0 - First 0.5.x releasev0.5.1 - Patch releaseThe changelog is generated automatically using git-cliff with conventional commits:
feat: - Featuresfix: - Bug Fixesdocs: - Documentationperf: - Performancerefactor: - Refactortest: - TestingIf the tag already exists, you need to either:
Check that CLOJARS_USERNAME and CLOJARS_PASSWORD secrets are correctly configured in the Release environment.
Check the agent-cpp workflow for build errors. Each platform builds independently.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |