Liking cljdoc? Tell your friends :D

Continuous Integration

The poly tool stays out of your way on how you build your deployable project artifacts on your continuous integration server.

Here, we go over a couple of tagging and release strategies for you to consider.

Build and Release All

If you don’t have many projects, you might want to build and deploy for all deployable projects:

  1. Run tests.

  2. Git tag the release.

  3. Build artifacts for all deployable projects.

  4. Deploy all built artifacts.

Build and Release for Changed Projects Only

Perhaps you want to optimize your flow to only build and deploy what has changed:

  1. Run tests.

  2. Ask poly what deployable projects have changed since the last release:

    poly ws get:changes:changed-or-affected-projects since:release skip:dev (1)
    1We skip:dev because it is not a deployable project
  3. Git tag the release.

  4. Build artifacts for all changed deployable projects.

  5. Deploy all built artifacts.

If you were to swap steps 2 and 3, you would use since:previous-release instead of since:release

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close