You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A continuation of #186 to further improve bumping from inside a cookbook directory.
As of spork 1.6.1 knife spork can do this:
[01:31:43 ~/git/push-jobs]$ knife spork bump -o ..
WARNING: No knife configuration file found
Cookbook name omitted, but metadata.rb for cookbook push-jobs found - bumping that.
Successfully bumped push-jobs to v2.5.1!
It will be great to not have to specify -o ..
One way to do it is to add the parent directory(..) to cookbook_path when the cookbook name is not specified.
I've noticed that the major | minor |... options are not working using this "inside the cookbook directory" use-case:
[01:31:55 ~/git/push-jobs]$ knife spork bump -o .. minor
WARNING: No knife configuration file found
ERROR: Chef::Exceptions::CookbookNotFound: Could not find cookbook 'minor'in any of the sources!
The text was updated successfully, but these errors were encountered:
Would love to see this work without the -o .. and without needing the ${PWD##*/} from the lovely alias in the linked issue. Only stumbled across this today after fighting with getting the right syntax and not having to specify a directory explicitly because we have MANY cookbooks across many repositories.
A continuation of #186 to further improve bumping from inside a cookbook directory.
As of spork 1.6.1
knife spork
can do this:It will be great to not have to specify
-o ..
One way to do it is to add the parent directory(
..
) tocookbook_path
when the cookbook name is not specified.I've noticed that the
major | minor |...
options are not working using this "inside the cookbook directory" use-case:The text was updated successfully, but these errors were encountered: