diff options
author | 2013-11-13 11:07:51 +0100 | |
---|---|---|
committer | 2013-11-13 11:07:51 +0100 | |
commit | e36fb372d402c3b8254647a06e59369e4fde0fa4 (patch) | |
tree | e4f9cc22751072101cbbf44bcdad4de719ba56f7 | |
parent | Merge pull request #5 from raimue/subject-config (diff) | |
download | porticron-e36fb372d402c3b8254647a06e59369e4fde0fa4.tar.gz porticron-e36fb372d402c3b8254647a06e59369e4fde0fa4.tar.bz2 porticron-e36fb372d402c3b8254647a06e59369e4fde0fa4.zip |
Delete mkrelease.sh
-rwxr-xr-x | mkrelease.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/mkrelease.sh b/mkrelease.sh deleted file mode 100755 index a793e8d..0000000 --- a/mkrelease.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -source /etc/init.d/functions.sh - -PROJECT=$(sed -n '2{p;q;}' README.rst|tr '[A-Z]' '[a-z]') -VERSION=$(sed 's/^:Version: \(.*\)/\1/;t;d' README.rst) - -HTDOCS=~/public_html/projects/${PROJECT} -DISTTAR=${HTDOCS}/dist/${PROJECT}-${VERSION}.tar.bz2 - -mkdir -p ${HTDOCS}/dist - -ebegin "Generating project page" -~/work/rst2html.py ~/public_html/template.html < README.rst > ${HTDOCS}/index.html -eend $? - -if [[ -e ${DISTTAR} ]]; then - echo "!!! ${DISTTAR} exists." -else - ebegin "Creating release tarball" - git archive --format=tar --prefix=${PROJECT}-${VERSION}/ HEAD | \ - bzip2 > ${DISTTAR} - eend $? -fi |