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

Version Path
packaging-0.122.3 lib/packaging/metrics.rb
packaging-0.122.2 lib/packaging/metrics.rb
packaging-0.122.1 lib/packaging/metrics.rb
packaging-0.122.0 lib/packaging/metrics.rb
packaging-0.121.0 lib/packaging/metrics.rb
packaging-0.120.0 lib/packaging/metrics.rb
packaging-0.118.0 lib/packaging/metrics.rb
packaging-0.117.0 lib/packaging/metrics.rb
packaging-0.116.0 lib/packaging/metrics.rb
packaging-0.115.0 lib/packaging/metrics.rb
packaging-0.114.0 lib/packaging/metrics.rb
packaging-0.113.0 lib/packaging/metrics.rb
packaging-0.112.0 lib/packaging/metrics.rb
packaging-0.111.0 lib/packaging/metrics.rb
packaging-0.110.1 lib/packaging/metrics.rb
packaging-0.110.0 lib/packaging/metrics.rb
packaging-0.109.7 lib/packaging/metrics.rb
packaging-0.109.6 lib/packaging/metrics.rb
packaging-0.109.5 lib/packaging/metrics.rb
packaging-0.109.4 lib/packaging/metrics.rb