socialcast-git-extensions 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.1
1
+ 0.10.2
@@ -72,11 +72,13 @@ module Socialcast
72
72
  end
73
73
 
74
74
  def reset_branch(branch)
75
- run_cmd "git branch -D #{branch}" rescue nil
76
- run_cmd "git push origin :#{branch}"
77
75
  run_cmd "git checkout master"
76
+ run_cmd "git pull"
77
+ run_cmd "git branch -D #{branch}" rescue nil
78
+ run_cmd "git push origin :#{branch}" rescue nil
78
79
  run_cmd "git checkout -b #{branch}"
79
80
  run_cmd "grb publish #{branch}"
81
+ run_cmd "git checkout master"
80
82
  end
81
83
 
82
84
  def integrate(branch, destination_branch = 'staging')
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{socialcast-git-extensions}
8
- s.version = "0.10.1"
8
+ s.version = "0.10.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Sonnek"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialcast-git-extensions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 1
10
- version: 0.10.1
9
+ - 2
10
+ version: 0.10.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Sonnek