bake-github-pages 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bake/github/pages.rb +6 -2
- data/lib/bake/github/pages/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f10268a63fa5888f157a4fa764c2d8f402c9033c53ac9500361ef2af8ebfadba
|
4
|
+
data.tar.gz: 9325730144c668994696bee92b0b9eab9875c7310f8094b39a55a966029987f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09d84abaeaec30c058caffc825b80eba90760db7a2b4964daaa8b74edee5e4aef811f7178410261a3def9e219e3dd5c990f27bf192d4c9de7cefa419cc2f2471'
|
7
|
+
data.tar.gz: 701d9f55377754c8a15ed93fd723e9830cd8246fc6cc45703499cac334a76d39cdf60ef295e285352b1e7db59241c83a3ab6bfec0b3a9e0899d21dce99137f36
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/github/pages.rb
CHANGED
@@ -31,8 +31,12 @@ def prepare(branch: "pages", directory: "pages")
|
|
31
31
|
|
32
32
|
system("git", "worktree", "add", "--detach", "--no-checkout", worktree.to_s)
|
33
33
|
|
34
|
-
|
35
|
-
|
34
|
+
begin
|
35
|
+
# Ensure we have the latest branch from origin:
|
36
|
+
system("git", "fetch", "origin", branch)
|
37
|
+
rescue
|
38
|
+
# Ignore.
|
39
|
+
end
|
36
40
|
|
37
41
|
begin
|
38
42
|
# Try checking out the remote branch if it exists:
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|