forked from puppetlabs/bolt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
23 lines (20 loc) · 646 Bytes
/
Rakefile
File metadata and controls
23 lines (20 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true
# rubocop:disable Lint/SuppressedException
begin
# Needed for Vanagon component ship job. Jenkins automatically sets 'BUILD_ID'.
# Packaging tasks should not be loaded unless running in Jenkins.
if ENV['BUILD_ID']
require 'packaging'
Pkg::Util::RakeUtils.load_packaging_tasks
end
rescue LoadError
end
# rubocop:enable Lint/SuppressedException
desc "Update Bolt's changelog for release"
task :changelog, [:version] do |_t, args|
sh "scripts/generate_changelog.rb #{args[:version]}"
end
desc "Check for new versions of bundled modules"
task :update_modules do
sh "scripts/update_modules.rb"
end