Created
April 17, 2013 06:03
-
-
Save tatsuru/5402106 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files = `git diff --name-only \`git describe --abbrev=0 --tags 'HEAD'\` \`git describe --abbrev=0 --tags 'HEAD^'\` #{local_cookbook_path}`.chomp.split("\n") | |
updated_cookbooks = files.map { |f| f.sub(/^cookbooks\/([^\/]+)\/.*$/, '\1')}.uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment