eik-ci-utils
included commands
check-eik-version
This checks if Eik needs versioned. It will exit with code 1
if versioning is needed - which is useful for failing CI or a pre-commit hook.
update-eik-version
This will update the Eik version in package.json (something Eik currently doesn't support), and will not commit the change (also something Eik's version command doesn't support).
If a new version isn't needed this will be a no-op.
maybe-publish-eik
This will attempt a publish. Like Eik this will only publish if the version is missing assets. Unlike Eik, this will not exit with a 1
if it didn't publish.
fix-eik-ci
This will run update-eik-version
, commit (with an amend-action) the package.json
, and force-push back.
Basically if you forgot to version Eik and CI yelled at you, you can run this to fix it without polluting your commits with "fix: oh crap I forgot to version again".