Sha256: 45cac98ca5cf3d8283314ab8f6abfb60ef83e3609a43e6cfb7db01fa30e9888c

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

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