Reputation: 177
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)
Upvotes: 1
Views: 1942
Reputation: 6102
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'
Upvotes: 3
Reputation: 7563
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.
Upvotes: 0