Sha256: 055c9c225e21cc9b19347121f5c60230bd797f887817a0a3a4bae4d6b89c0788
Contents?: true
Size: 444 Bytes
Versions: 33
Compression:
Stored size: 444 Bytes
Contents
module Pkg::Metrics module_function def update_release_metrics metrics_repo = 'release-metrics' command = <<~CMD git clone git@github.com:puppetlabs/#{metrics_repo}.git cd #{metrics_repo} bundle exec add-release --date #{Pkg::Util::Date.today} --project #{Pkg::Config.project} --version #{Pkg::Config.ref} cd .. rm -r #{metrics_repo} CMD Pkg::Util::Execution.capture3(command, true) end end
Version data entries
33 entries across 33 versions & 1 rubygems