I installed the sbt-release
plugin in my scala sbt project.
But when I run sbt release cross build or sbt release skip-tests, I get this error:
Not a valid key: cross (similar: crossPaths, crossTarget, cross-paths)
I installed the sbt-release
plugin in my scala sbt project.
But when I run sbt release cross build or sbt release skip-tests, I get this error:
Not a valid key: cross (similar: crossPaths, crossTarget, cross-paths)
If you want to run release cross with-defaults
or release skip-tests
from the command line you need to quote it:
$ sbt 'release cross with-defaults'
$ sbt 'release skip-tests'
For some reason the release plugin doesn't play nice when you run it this way. Try running sbt, then run release from within the console.