bb ci-release validate
You are involved in maintaining/releasing test-doc-blocks.
A release is triggered manually via a GitHub Action "Release" workflow.
Our Release GitHub Action handles the release workflow.
Our GitHub Actions "Release" workflow will:
Create a thin jar using our version scheme
Apply jar version to the following files:
deps.edn
(we use babashka neil for version tracking/management)
user guide docs deps.edn
usage example
change log "unreleased" heading
Deploy the jar to clojars
Commit and push updates made to deps.edn
, CHANGELOG.adoc
and 01-user-guide.adoc
back to the project
Create and push a release tag back to the project repo
Create a GitHub release
Inform cljdoc of the new release
At this time, the release workflow does not run tests. The assumption is that you’ve waited for the last CI test run to complete and are happy with the results.
The release workflow will fail if the change log is not ready for release.
Edit deps.edn
→ :aliases
→ :neil
→ :version
in the project root.
The release workflow automatically bumps the :version
patch
component by 1 before releasing.
Update the :version
major
and minor
components in deps.edn
manually as needed.
GitHub has been configured with necessary secrets for GitHub Actions to deploy test-doc-blocks to clojars.
To run the change log validation locally:
bb ci-release validate
If you so wish, you can also locally run all steps up to, but not including, deploy via:
bb ci-release prep
Locally verify, but do NOT check in changes prep
makes to deps.edn
, CHANGELOG.adoc
, and doc/01-user-guide.adoc
.
As a maintainer, you should have sufficient privileges to see a "Run Workflow" dropdown button on the Release action page. The dropdown will prompt for a branch. I did not see a way to disable this prompt, leave it at "main" and run the workflow.
Remember to pull after a release to get the changes made by the release workflow. |
Can you improve this documentation? These fine people already did:
lread & Lee ReadEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close