vojtajina / grunt-bump

Grunt.js plugin - Increment package version.
MIT License
651 stars 122 forks source link

"bump-only" task not found with jit-grunt static mapping #183

Closed kitsguru closed 8 years ago

kitsguru commented 8 years ago

I am using grunt-bump v0.8.0 with jit-grunt v0.10.0 & grunt 1.0.1 and getting an error for bump-only and bump-commit. bump by itself works fine.

gruntfile.js

    require('jit-grunt')(grunt)({
       'bump-only': 'grunt-bump',
       'bump-commit': 'grunt-bump',
       customTasksDir: 'grunt-tasks'
    });

Error is

jit-grunt: Plugin for the "bump-only" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings

Warning: Task "bump-only" failed. Use --force to continue.

I have tried several variations of the static mappings but everyone results in the same error. I am using the example grunt-bump configuration.

eddiemonge commented 8 years ago

Have you asked on the jit-grunt repo?

kitsguru commented 8 years ago

No, because I found a previous issue here and I used the supplied answer. I will however do so now.