Skip to content

Commit

Permalink
Merge pull request #16 from ekohl/use-api
Browse files Browse the repository at this point in the history
Use has_version_tag? from puppet-blacksmith
  • Loading branch information
alexjfisher authored Nov 3, 2017
2 parents 1847b84 + eb4f59a commit fd8f279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/voxpupuli/release/rake_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# idempotently create tags
g = Blacksmith::Git.new
Rake::Task["module:tag"].invoke unless g.exec_git("tag -l v#{v}").strip == "v#{v}"
Rake::Task["module:tag"].invoke unless g.has_version_tag?(v)

v_inc = m.increase_version(v)
v_new = "#{v_inc}-rc0"
Expand Down
2 changes: 1 addition & 1 deletion voxpupuli-release.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ Gem::Specification.new do |s|

# Runtime dependencies, but also probably dependencies of requiring projects
s.add_runtime_dependency 'rake'
s.add_runtime_dependency 'puppet-blacksmith'
s.add_runtime_dependency 'puppet-blacksmith', '>= 4.0.0'
end

0 comments on commit fd8f279

Please sign in to comment.