diff options
author | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2015-08-05 13:06:40 +0200 |
---|---|---|
committer | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2015-08-05 13:06:40 +0200 |
commit | 90095b9b9a6098258ecf4a4be5721964c93be2d9 (patch) | |
tree | 49d370551bb99621f76eb2ddd6dcef3515698994 /Rakefile | |
parent | 17c054e40330fe26987a017274b569bde9611af1 (diff) |
Add publishing rake tasks
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -9,3 +9,15 @@ PuppetLint::RakeTask.new :lint do |config| end PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"] + +# Publishing tasks +unless RUBY_VERSION =~ /^1\.8/ + require 'puppet_blacksmith' + require 'puppet_blacksmith/rake_tasks' + require 'github_changelog_generator/task' + GitHubChangelogGenerator::RakeTask.new :changelog do |config| + m = Blacksmith::Modulefile.new + config.future_release = m.version + config.release_url = "https://forge.puppetlabs.com/#{m.author}/#{m.name}/%s" + end +end |