Sha256: 548b89273026bea1bdef371f438da3dc70a74ef6b4b1e89ef180dd4d19d048cc

Contents?: true

Size: 646 Bytes

Versions: 2

Compression:

Stored size: 646 Bytes

Contents

# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

require_relative './helpers/version_bump'

namespace :newrelic do
  namespace :version do
    desc 'Returns the current version'
    task :current do
      puts "#{NewRelic::VERSION::STRING}"
    end

    desc 'Update version file and changelog to next version'
    task :bump, [:format] => [] do |t, args|
      new_version = VersionBump.update_version
      VersionBump.update_changelog(new_version)
      puts "New version: #{new_version}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
newrelic_rpm-9.3.1 lib/tasks/bump_version.rake
newrelic_rpm-9.3.0 lib/tasks/bump_version.rake