summaryrefslogtreecommitdiffstats
path: root/docs/script/release
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-16 15:47:30 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-16 15:47:30 -0300
commitc327c39ca5b152f4f4f20eb8103b3642c144fedf (patch)
tree41707226146cdab88a155bae512489651a1f181b /docs/script/release
parentfb02f9553205de320695825e34574e48f01f2e23 (diff)
downloadPSP.git-c327c39ca5b152f4f4f20eb8103b3642c144fedf.tar.gz
PSP.git-c327c39ca5b152f4f4f20eb8103b3642c144fedf.tar.xz
PSP.git-c327c39ca5b152f4f4f20eb8103b3642c144fedf.zip
Add google analytics ID
Diffstat (limited to 'docs/script/release')
-rw-r--r--docs/script/release42
1 files changed, 0 insertions, 42 deletions
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"