Skip to content

Commit

Permalink
Add autoversioning
Browse files Browse the repository at this point in the history
  • Loading branch information
atomic-penguin committed Jul 17, 2014
1 parent 2282456 commit a41fc22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source 'https://rubygems.org'
gem 'foodcritic', '~> 3.0'
gem 'knife-solo_data_bag'
gem 'rubocop'
gem 'thor-scmversion'

group :integration do
gem 'test-kitchen'
Expand Down
1 change: 1 addition & 0 deletions Thorfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'thor/scmversion'
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache 2.0'
description 'Installs/Configures certificates, private keys, CA root bundles from encrypted data bags.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.5.3'
version IO.read(File.join(File.dirname(__FILE__), 'VERSION')) rescue '0.0.1'
%w( amazon centos debian fedora redhat oracle scientific ubuntu smartos ).each do |os|
supports os
end

1 comment on commit a41fc22

@jochenseeber
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks using this cookbook with Test Kitchen and Berkshelf, see berkshelf/berkshelf#1337

Please sign in to comment.