mina-git-submodules 1.0.0 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51c62b384f30f57ef317c92cc87f8262f933e763
4
- data.tar.gz: 6f55142042acedaf388df2db69f4b50517a63568
3
+ metadata.gz: 1c5fed0bd809e0586230e1026f2e7b20314ba64a
4
+ data.tar.gz: d24cfca1763a7e2f3c4274a4423667779695f6df
5
5
  SHA512:
6
- metadata.gz: ab77ba5ec48615298ee665a314d564fe65e8856a78d5bb7c7f77d9d7a82dedeb6441527fd2de056382a41aea27e50b438daf9af5e86e07d194459d168122b002
7
- data.tar.gz: b1dbd6345d9ab4a3d0fb0ce26cda13479deebcdc203da6fc42241ed312eb932141ee3993baaf9507e13e8945e28aba5935e052bc7e3813d3d780807df8d99450
6
+ metadata.gz: 3117e57cb622db2de0a289f5dfb92178f3c5cd42cde537ba702120d47b17a53bc7903ad8b35e29570cc410e05f494982a55170afbaa8e678de18e1b36b7d0611
7
+ data.tar.gz: f1abcc96bd61d95e3cb9816047c63480bc6a65a46b28309d09b9ab35f22ae27408bcc2a988a96e477770d10f81997ea7fee38dbd267f660b35090c2ba2bfdb97
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module GitSubmodules
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -22,7 +22,7 @@ namespace :git do
22
22
  #{echo_cmd %[git clone "#{fetch(:repository)}" "#{fetch(:deploy_to)}/scm" --recursive && (cd "#{fetch(:deploy_to)}/scm" && git checkout -b deploy #{fetch(:branch)})]}
23
23
  else
24
24
  echo "-----> Fetching new git commits"
25
- #{echo_cmd %[(cd "#{fetch(:deploy_to)}/scm" && git fetch "#{fetch(:repository)}" "#{fetch(:branch)}:#{fetch(:branch)}" --force && git reset --hard #{fetch(:branch)})]}
25
+ #{echo_cmd %[(cd "#{fetch(:deploy_to)}/scm" && git fetch "#{fetch(:repository)}" "#{fetch(:branch)}:#{fetch(:branch)}" --force -u && git reset --hard #{fetch(:branch)})]}
26
26
  fi &&
27
27
  echo "-----> Updating git submodules" &&
28
28
  #{echo_cmd %[(cd "#{fetch(:deploy_to)}/scm" && git submodule init && git submodule sync && git submodule update --init --recursive)]} &&
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-git-submodules
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Taylor