forked from voxpupuli/container-puppetserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
18 lines (17 loc) · 779 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true
begin
require 'rubygems'
require 'github_changelog_generator/task'
rescue LoadError
# github_changelog_generator isn't available, so we won't define a rake task with it
else
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog modulesync github_actions]
config.user = 'voxpupuli'
config.project = 'container-puppetserver'
# get branch name from git and strip off any prefixes (e.g. 'release-')
config.since_tag = '7.13.0'
config.future_release = `git rev-parse --abbrev-ref HEAD`.strip.split('-', 2).last
end
end