diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-09-16 15:47:30 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-09-16 15:47:30 -0300 |
commit | c327c39ca5b152f4f4f20eb8103b3642c144fedf (patch) | |
tree | 41707226146cdab88a155bae512489651a1f181b /docs/script | |
parent | fb02f9553205de320695825e34574e48f01f2e23 (diff) | |
download | PSP.git-c327c39ca5b152f4f4f20eb8103b3642c144fedf.tar.gz PSP.git-c327c39ca5b152f4f4f20eb8103b3642c144fedf.tar.xz PSP.git-c327c39ca5b152f4f4f20eb8103b3642c144fedf.zip |
Add google analytics ID
Diffstat (limited to 'docs/script')
-rw-r--r-- | docs/script/bootstrap | 6 | ||||
-rw-r--r-- | docs/script/cibuild | 6 | ||||
-rw-r--r-- | docs/script/release | 42 | ||||
-rw-r--r-- | docs/script/server | 3 |
4 files changed, 0 insertions, 57 deletions
diff --git a/docs/script/bootstrap b/docs/script/bootstrap deleted file mode 100644 index 492e553..0000000 --- a/docs/script/bootstrap +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -set -e - -gem install bundler -bundle install diff --git a/docs/script/cibuild b/docs/script/cibuild deleted file mode 100644 index f627530..0000000 --- a/docs/script/cibuild +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -set -e - -bundle exec jekyll build -gem build jekyll-theme-cayman.gemspec diff --git a/docs/script/release b/docs/script/release deleted file mode 100644 index fb400aa..0000000 --- a/docs/script/release +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh -# Tag and push a release. - -set -e - -# Make sure we're in the project root. - -cd $(dirname "$0")/.. - -# Make sure the darn thing works - -bundle update - -# Build a new gem archive. - -rm -rf jekyll-theme-cayman-*.gem -gem build -q jekyll-theme-cayman.gemspec - -# Make sure we're on the master branch. - -(git branch | grep -q 'master') || { - echo "Only release from the master branch." - exit 1 -} - -# Figure out what version we're releasing. - -tag=v`ls jekyll-theme-cayman-*.gem | sed 's/^jekyll-theme-cayman-\(.*\)\.gem$/\1/'` - -# Make sure we haven't released this version before. - -git fetch -t origin - -(git tag -l | grep -q "$tag") && { - echo "Whoops, there's already a '${tag}' tag." - exit 1 -} - -# Tag it and bag it. - -gem push jekyll-theme-cayman-*.gem && git tag "$tag" && - git push origin master && git push origin "$tag" diff --git a/docs/script/server b/docs/script/server deleted file mode 100644 index d8c3e15..0000000 --- a/docs/script/server +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -bundle exec jekyll serve |