shipit-engine 0.35.0 → 0.35.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 +4 -4
- data/lib/shipit/stack_commands.rb +1 -1
- data/lib/shipit/task_commands.rb +1 -1
- data/lib/shipit/version.rb +1 -1
- data/test/unit/deploy_commands_test.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ab32590ea528100fc22999f40a17d9ffcefb72313672eb4858befdb9a6932e1
|
|
4
|
+
data.tar.gz: fe6fe3d4b026e0e2d0ecb067639d97027649d26fd785c90b9e198ce0e478c2a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a51d622ab862751d118d2d0995361366d8035481f090ddfcaa09f01b672c326ed1708c4085831a195899500762cd29b6247c01710e08260b5baf263d2363cc33
|
|
7
|
+
data.tar.gz: 327aac9271b84975c388c0dbb42c380f99c00d15b1ce6930bba6877066d0333b3c60efcaf8ab56e925d17e90ac1462c48cbccb9ec5da1537c04f45fe6149c49b
|
|
@@ -72,7 +72,7 @@ module Shipit
|
|
|
72
72
|
).run!
|
|
73
73
|
|
|
74
74
|
git_dir = File.join(dir, @stack.repo_name)
|
|
75
|
-
git('
|
|
75
|
+
git('-c', 'advice.detachedHead=false', 'checkout', commit.sha, chdir: git_dir).run! if commit
|
|
76
76
|
yield Pathname.new(git_dir)
|
|
77
77
|
end
|
|
78
78
|
end
|
data/lib/shipit/task_commands.rb
CHANGED
data/lib/shipit/version.rb
CHANGED
|
@@ -134,7 +134,7 @@ module Shipit
|
|
|
134
134
|
|
|
135
135
|
test "#checkout checks out the deployed commit" do
|
|
136
136
|
command = @commands.checkout(@deploy.until_commit)
|
|
137
|
-
assert_equal ['git', 'checkout', @deploy.until_commit.sha], command.args
|
|
137
|
+
assert_equal ['git', '-c', 'advice.detachedHead=false', 'checkout', @deploy.until_commit.sha], command.args
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
test "#checkout checks out the deployed commit from the working directory" do
|