hu 1.4.8 → 1.4.9
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 +4 -4
- data/lib/hu/deploy.rb +9 -10
- data/lib/hu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4024dee7a35f4bf33771b3a9b289bf658ee931d
|
|
4
|
+
data.tar.gz: 08a101b079b0420a6cbbcdd5c19acef6aaeb88dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4400cd353b4cf5ce394096b428e3f7c51c7baa67b9cc407407866e564119c33dab88b64492f6d12c019e1d74efe702608c90b80a6c12e26520e4fcfad1244683
|
|
7
|
+
data.tar.gz: 08fc5de1a0a8b72b96c61b769f6850f134c462d83080543d10b94e66ae033cb24652c0b4d3252b0c1c2cf585ced4deb88d0e9347f8e62261f6a97114ef0056a0
|
data/lib/hu/deploy.rb
CHANGED
|
@@ -149,13 +149,13 @@ module Hu
|
|
|
149
149
|
wc_update.join
|
|
150
150
|
unbusy
|
|
151
151
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
152
|
+
unless develop_can_be_merged_into_master?
|
|
153
|
+
puts
|
|
154
|
+
puts "ERROR: It seems like a merge of 'develop' into 'master' would fail.".color(:red)
|
|
155
|
+
puts " Aborting early to prevent a merge conflict.".color(:red)
|
|
156
|
+
puts
|
|
157
|
+
exit 1
|
|
158
|
+
end
|
|
159
159
|
|
|
160
160
|
highest_version = find_highest_version_tag
|
|
161
161
|
begin
|
|
@@ -870,9 +870,8 @@ module Hu
|
|
|
870
870
|
:quiet
|
|
871
871
|
:nospinner
|
|
872
872
|
:return
|
|
873
|
-
git checkout develop
|
|
874
|
-
git
|
|
875
|
-
rm -f /tmp/hu.diff.tmp
|
|
873
|
+
git checkout master && git merge --no-commit --no-ff develop || { git merge --abort; false ;}
|
|
874
|
+
git merge --abort || true
|
|
876
875
|
EOS
|
|
877
876
|
status == 0
|
|
878
877
|
end
|
data/lib/hu/version.rb
CHANGED