# `mix koyomi.release_check`
[🔗](https://github.com/hattoriai/koyomi/blob/v0.2.1/lib/mix/tasks/koyomi.release_check.ex#L1)

Checks the built files before a release of Koyomi.

    $ mix koyomi.release_check

This task is for work on Koyomi itself; the `release` alias runs it
after `mix koyomi.build` and before `mix hex.publish`. In any project
but Koyomi, it stops with an error. It fails when:

  * one of the four bundle files (`koyomi.esm.js`, `koyomi.cjs.js`,
    `koyomi.css` and `koyomi-sumi.css`) is missing from `priv/static`,
    or is empty (the empty files that CI makes are not a build);
  * `priv/static` holds any other file or directory;
  * the `version` of `package.json` is not the version of `mix.exs`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
