socialcast-git-extensions 3.1.31 → 3.1.32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2a34c6c10c6b97d6535baa8b29e999d0dca40cd
4
- data.tar.gz: 490cc52f1cd874d264ef7766e92cba28073f4a15
3
+ metadata.gz: 91d837e694388341d20e347a4f0352b9c93688b6
4
+ data.tar.gz: 4c937bd5d45da1e197639c9a52cba4d8e8a96562
5
5
  SHA512:
6
- metadata.gz: 1312bc274de4e14fe7e36963779ec40689e5bcbff75027e9fc9c82892f106b03a0c846d0282816cf01346e6495c2d0cce2abb579eedcb6623e8c5425d2d9b162
7
- data.tar.gz: f2ee71b4967ff4f311a16c70afa31110b9e5bb4e1ff383b0b3553a5cf745eacbf98cc9697eea9e8a251e6f3f42a04d499584fc67ed72cde87e2e404cdd594229
6
+ metadata.gz: 6d60e00c25b72164ec40c180d96eccd0cee4711dc1dfcd1b01802ce78a8bd74a4ac552f4b21bd69a22a966d67872cf6c1ecc2e46e36f7126c4f5e7af7a39f7c9
7
+ data.tar.gz: 30c7690e5ae4dec5095219aeafd147bdcdbd61ae569953f11524ef28fe5775f222dfffb69566e3d6818df6896c14eb964c60dbbba51d1369ffd86b821c508d9e
@@ -104,7 +104,7 @@ module Socialcast
104
104
  end
105
105
 
106
106
  def track_branch(branch)
107
- run_cmd "git branch --track origin/#{branch}"
107
+ run_cmd "git branch --set-upstream-to=origin/#{branch} #{branch}"
108
108
  end
109
109
 
110
110
  # integrate a branch into a destination aggregate branch
@@ -1,5 +1,5 @@
1
1
  module Socialcast
2
2
  module Gitx
3
- VERSION = "3.1.31"
3
+ VERSION = "3.1.32"
4
4
  end
5
5
  end
@@ -382,7 +382,7 @@ describe Socialcast::Gitx::CLI do
382
382
  "git push origin --delete staging",
383
383
  "git checkout -b staging",
384
384
  "git push origin staging",
385
- "git branch --track origin/staging",
385
+ "git branch --set-upstream-to=origin/staging staging",
386
386
  "git checkout master"
387
387
  ])
388
388
  end
@@ -404,7 +404,7 @@ describe Socialcast::Gitx::CLI do
404
404
  "git push origin --delete qa",
405
405
  "git checkout -b qa",
406
406
  "git push origin qa",
407
- "git branch --track origin/qa",
407
+ "git branch --set-upstream-to=origin/qa qa",
408
408
  "git checkout master"
409
409
  ])
410
410
  end
@@ -426,7 +426,7 @@ describe Socialcast::Gitx::CLI do
426
426
  "git push origin --delete qa",
427
427
  "git checkout -b qa",
428
428
  "git push origin qa",
429
- "git branch --track origin/qa",
429
+ "git branch --set-upstream-to=origin/qa qa",
430
430
  "git checkout master",
431
431
  "git checkout master",
432
432
  "git branch -D last_known_good_master",
@@ -436,7 +436,7 @@ describe Socialcast::Gitx::CLI do
436
436
  "git push origin --delete last_known_good_qa",
437
437
  "git checkout -b last_known_good_qa",
438
438
  "git push origin last_known_good_qa",
439
- "git branch --track origin/last_known_good_qa",
439
+ "git branch --set-upstream-to=origin/last_known_good_qa last_known_good_qa",
440
440
  "git checkout master"
441
441
  ])
442
442
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialcast-git-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.31
4
+ version: 3.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Sonnek