zilkey-auto_tagger 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/autotag +20 -0
  2. metadata +64 -0
data/bin/autotag ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "auto_tagger"))
3
+
4
+ def usage
5
+ puts
6
+ puts "USAGE: #{File.basename($0)} [-h] [<stage> <repository>]"
7
+ puts
8
+ puts ' where: -h displays this help message'
9
+ puts ' stage sets the tag prefix'
10
+ puts ' repository sets the repository to act on'
11
+ puts
12
+ exit 1
13
+ end
14
+
15
+ if ARGV[0] && ARGV[0] == "-h"
16
+ usage
17
+ elsif ARGV[0]
18
+ AutoTagger.new(ARGV[0], ARGV[1]).create_tag
19
+ exit 1
20
+ end
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zilkey-auto_tagger
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jeff Dean
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-03-28 00:00:00 -07:00
13
+ default_executable: autotag
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: capistrano
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.5.3
24
+ version:
25
+ description:
26
+ email: jeff at zilkey dot com
27
+ executables:
28
+ - autotag
29
+ extensions: []
30
+
31
+ extra_rdoc_files: []
32
+
33
+ files:
34
+ - ./MIT-LICENSE
35
+ - ./README.md
36
+ has_rdoc: false
37
+ homepage: http://github.com/zilkey/git_tagger/tree/master
38
+ post_install_message:
39
+ rdoc_options: []
40
+
41
+ require_paths:
42
+ - lib
43
+ - recipes
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: "0"
49
+ version:
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: "0"
55
+ version:
56
+ requirements: []
57
+
58
+ rubyforge_project:
59
+ rubygems_version: 1.2.0
60
+ signing_key:
61
+ specification_version: 2
62
+ summary: Helps you automatically create tags for each stage in a multi-stage deploment and deploy from the latest tag from the previous environment
63
+ test_files: []
64
+