Sha256: 25dd59d7c6ea89440cf8291e845871b5dc821cd313ce42174373db380f741a94

Contents?: true

Size: 460 Bytes

Versions: 3

Compression:

Stored size: 460 Bytes

Contents

VERSION_FILE = "#{Rails.root}/VERSION"

namespace :versionator do
  desc "patch version"
  task :patch => :environment do
    versionator = Versionatorator.new
    versionator.release(:patch)
  end

  desc "minor version"
  task :minor => :environment do
    versionator = Versionator.new
    versionator.release(:minor)
  end

  desc "major version"
  task :major => :environment do
    versionator = Versionator.new
    versionator.release(:major)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
versionator-0.0.3 lib/versionator/railties/tasks/versionator.rake
versionator-0.0.2 lib/versionator/railties/tasks/versionator.rake
versionator-0.0.1 lib/tasks/versionator.rake