Skip to main content

CI Overview

While it is fully possible (and in many cases perfectly acceptable) to simply publish new versions of your assets manually as needed, you may find yourself preferring an automated approach.

To do so, Eik provides a version command that can be used to automate versioning. When running the version command a new version number will be generated in eik.json if and only if the assets to be published have changed since the last publish. This makes it safe to run on every CI build.

The process for publishing new asset versions from CI is as follows:

  1. Login to the Eik server
  2. Run the eik version command
  3. Run the eik package command
  4. Commit new version change to eik.json
  5. Push the change back to the repository

For your specific C.I. platform, see the related guide.