jgd 1.6.4 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bash/deploy.sh +7 -1
  3. data/jgd.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35deccbe03c7949944c497c2efdda9718b7ebdf5
4
- data.tar.gz: 5b4dc114ab24c553ed828c61112cd7c562f0a71f
3
+ metadata.gz: b5389f16dd5f6eaf57d48366dfe796b2466aa329
4
+ data.tar.gz: 78ca6c5a5196bcac4f0d77e81802701f6f47f895
5
5
  SHA512:
6
- metadata.gz: 947c0e6c3547ccfaa6a6e4ec732df86455549ac58560e5680539c36a2647ace4a9d8609de9f579a899e5626876195539f5bbbd15005692487ea5c85dde0c5458
7
- data.tar.gz: 2bc851474bf6716c026bb35077a24f5406d57d4e1862562cfe0a94958564e83a572c4bf88dfb282a954722817875609ec53475e19985c04d49d124bf6e44ac00
6
+ metadata.gz: 92f7b1788800852350a015625f4759a3b184bf6f411f08ee886876e6e61733024c3252d7ce934cfef4b9b43e47ae5d7f0061aa487e6f214f0784e4deadc274b1
7
+ data.tar.gz: e5ff1cb25ce7874ed1edf2fc46bf0496b928e19b85baa2e9bf3b22677515ccb0b9cacc7f083733d9e35bbee2652750cac5b3466c6055025e278677e70cea2174
@@ -8,9 +8,12 @@ SRC=$(pwd)
8
8
  TEMP=$(mktemp -d -t jgd-XXX)
9
9
  trap "rm -rf ${TEMP}" EXIT
10
10
  CLONE=${TEMP}/clone
11
+ COPY=${TEMP}/copy
11
12
 
12
13
  echo -e "Cloning Github repository:"
13
14
  git clone "${URL}" "${CLONE}"
15
+ cp -R ${CLONE} ${COPY}
16
+
14
17
  cd "${CLONE}"
15
18
 
16
19
  echo -e "\nBuilding Jekyll site:"
@@ -29,7 +32,10 @@ fi
29
32
 
30
33
  cp -R _site ${TEMP}
31
34
 
32
- git clean -fd
35
+ cd ${TEMP}
36
+ rm -rf ${CLONE}
37
+ mv ${COPY} ${CLONE}
38
+ cd ${CLONE}
33
39
 
34
40
  echo -e "\nPreparing gh-pages branch:"
35
41
  if [ -z "$(git branch -a | grep origin/gh-pages)" ]; then
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.rubygems_version = '2.2.2'
9
9
  s.required_ruby_version = '>= 1.9.3'
10
10
  s.name = 'jgd'
11
- s.version = '1.6.4'
11
+ s.version = '1.6.5'
12
12
  s.license = 'MIT'
13
13
  s.summary = 'Jekyll Github Deploy'
14
14
  s.description = 'Automated deployment of your Jekyll blog to Github Pages'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jgd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko