Skip to content

Commit a41fc22

Browse files
Add autoversioning
1 parent 2282456 commit a41fc22

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
33
gem 'foodcritic', '~> 3.0'
44
gem 'knife-solo_data_bag'
55
gem 'rubocop'
6+
gem 'thor-scmversion'
67

78
group :integration do
89
gem 'test-kitchen'

Thorfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require 'thor/scmversion'

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
license 'Apache 2.0'
55
description 'Installs/Configures certificates, private keys, CA root bundles from encrypted data bags.'
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version '0.5.3'
7+
version IO.read(File.join(File.dirname(__FILE__), 'VERSION')) rescue '0.0.1'
88
%w( amazon centos debian fedora redhat oracle scientific ubuntu smartos ).each do |os|
99
supports os
1010
end

0 commit comments

Comments
 (0)