jgd 1.6 → 1.6.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.
Files changed (3) hide show
  1. data/bash/deploy.sh +1 -16
  2. data/jgd.gemspec +1 -1
  3. metadata +1 -1
data/bash/deploy.sh CHANGED
@@ -9,20 +9,7 @@ CLONE=${TEMP}/clone
9
9
 
10
10
  echo -e "Cloning Github repository:"
11
11
  git clone "${URL}" "${CLONE}"
12
-
13
- echo -e "\nRegistering variables:"
14
12
  cd "${CLONE}"
15
- USER_EMAIL=$(git config --get user.email | cat)
16
- USER_NAME=$(git config --get user.name | cat)
17
- echo "user.name=${USER_NAME}"
18
- echo "user.email=${USER_EMAIL}"
19
- if [ "${USER_EMAIL}" = "" -o "${USER_NAME}" = "" ]; then
20
- echo "user.email or user.name is not configured in Git repository"
21
- echo "see https://help.github.com/articles/setting-your-email-in-git/"
22
- exit -1
23
- fi
24
-
25
- VERSION=$(git describe --always --tag)
26
13
 
27
14
  echo -e "\nBuilding Jekyll site:"
28
15
  rm -rf _site
@@ -52,9 +39,7 @@ rm -rf *
52
39
  cp -R ${TEMP}/_site/* .
53
40
  rm -f README.md
54
41
  git add .
55
- git config user.email "${USER_EMAIL}"
56
- git config user.name "${USER_NAME}"
57
- git commit -am "new site version ${VERSION} deployed" --allow-empty
42
+ git commit -am "new version $(date)" --allow-empty
58
43
  git push origin gh-pages 2>&1 | sed 's|'$URL'|[skipped]|g'
59
44
 
60
45
  echo -e "\nCleaning up:"
data/jgd.gemspec CHANGED
@@ -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'
11
+ s.version = '1.6.1'
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
+ version: 1.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: