crazycode-cap-recipes 0.3.39.1 → 0.3.39.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 3
4
- :build: 1
4
+ :build: 2
5
5
  :patch: 39
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{crazycode-cap-recipes}
8
- s.version = "0.3.39.1"
8
+ s.version = "0.3.39.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["crazycode"]
12
- s.date = %q{2011-04-25}
12
+ s.date = %q{2011-04-27}
13
13
  s.default_executable = %q{cap-recipes}
14
14
  s.description = %q{Battle-tested capistrano recipes for debian, passenger, apache, hudson, delayed_job, juggernaut, rubygems, backgroundrb, rails and more}
15
15
  s.email = %q{crazycode@gmail.com}
@@ -133,11 +133,11 @@ Capistrano::Configuration.instance(true).load do |configuration|
133
133
 
134
134
  def self.update_repository_remote_command(tag_name)
135
135
  [
136
+ # git reset --hard;git fetch;git reset --merge #{tag_name}
136
137
  "cd #{deploy_to_gitrepo}",
138
+ "git reset --hard",
137
139
  "git fetch",
138
- "git checkout #{branch}",
139
- "git merge origin/#{branch}",
140
- "git checkout -b tag_#{tag_name} #{tag_name}",
140
+ "git reset --merge #{tag_name}",
141
141
  ].join("; ")
142
142
  end
143
143
 
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 3
8
8
  - 39
9
- - 1
10
- version: 0.3.39.1
9
+ - 2
10
+ version: 0.3.39.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - crazycode
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-25 00:00:00 +08:00
18
+ date: 2011-04-27 00:00:00 +08:00
19
19
  default_executable: cap-recipes
20
20
  dependencies: []
21
21