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:
- Login to the Eik server
- Run the
eik version
command - Run the
eik package
command - Commit new version change to
eik.json
- Push the change back to the repository
For your specific C.I. platform, see the related guide.