Skip to content

Deploying a new version

Joakim Tengstrand edited this page May 9, 2020 · 2 revisions

lein-polylith plugin uses CircleCI to test and deploy the project. In order to release a new version, make sure you have the following requirements are met on the master branch.

  1. project.clj file has the correct (new) version on top of the file.
  2. Set current date in src/leiningen/polylith/version.clj.
  3. Search project for the references to the old version and update those versions to new one. At the moment, the following files refers to the version of the plugin:
  • readme.md
  • project.clj
  • src/leiningen/polylith/version.clj

Once you have your changes ready on the master branch, make sure all the tests pass and everything is green in CircleCI. Then, you can add a new git tag to the specific commit with the following format: vX.X.X. An example version can be v0.2.3. Push the new tag to the git remote. After that, CircleCI will again run the tests and deploy to clojars automatically.

After the new version is published in clojars, you should add a new release to the Github repository. You can do that by going to https://github.com/tengstrand/lein-polylith/releases and clicking to your new tag. There you can explain what is included in the new release and give it a name with the following format: Version X.X.X. You can check out the previous releases to see the formatting of the release description.

Clone this wiki locally