Sha256: c7312681adf823755b0277da1751605d601a44bd3dc6db52fbc2756826ac3826

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

desc "Create/Update the APP VERSION and create the git tag. USAGE: rake autotag TAG=0.0.0"
task :autotag do
  tag = ENV["TAG"]
  if !defined?(Rails)
    puts "Rails app not found!"
  elsif tag.blank?
    puts "TAG not found! USAGE: rake autotag TAG=0.0.0"
  else
    puts "Creating #{tag} tag..."
    AutoTagVersion.tag!(tag)
    AutoTagVersion.print_last_tag_information
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
auto_tag_version-1.1.0 lib/tasks/autotag.rake