summaryrefslogtreecommitdiffstats
path: root/packaging/release-msg
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2016-04-21 12:27:29 +0000
committerLennart Weller <lhw@ring0.de>2016-04-21 12:27:29 +0000
commit30b94862648cdbf4f537337d2e2f01c369a9dee9 (patch)
treef0219dd8bd744fc09899bd0266402e05a4bff854 /packaging/release-msg
parentImported Upstream version 1.0.0 (diff)
downloadnetdata-6bc278afa060671280752803dbf6b5af10b319d1.tar.xz
netdata-6bc278afa060671280752803dbf6b5af10b319d1.zip
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'packaging/release-msg')
-rwxr-xr-xpackaging/release-msg59
1 files changed, 0 insertions, 59 deletions
diff --git a/packaging/release-msg b/packaging/release-msg
deleted file mode 100755
index 01ec38148..000000000
--- a/packaging/release-msg
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/bash
-
-#
-# release-msg
-#
-scriptname=release-msg
-if ! MYTMP=$(mktemp -d -t $scriptname-XXXXXX)
-then
- echo >&2
- echo >&2
- echo >&2 "Cannot create temporary directory."
- echo >&2
- exit 1
-fi
-
-cleanup() {
- status=$?
- rm -rf "${MYTMP}"
- exit $status
-}
-
-# clean up if we get stopped by Crtl-C or forced logout or normal exit
-trap cleanup INT
-trap cleanup HUP
-trap cleanup 0
-
-set -e
-if [ "$1" = "--debug" ]
-then
- set -x
- shift
-fi
-
-if [ $# -lt 1 ]
-then
- echo "Use only from .git/hooks/prepare-commit-msg"
- exit 1
-fi
-
-if [ ! -x packaging/release-msg ]
-then
- echo "Must be run from base directory"
- exit 1
-fi
-
-dirname="${0%/*}"
-if [ "$dirname" = "$0" ]; then dirname="."; fi
-source $dirname/packaging.functions
-
-mkdir -p $MYTMP/files
-git show :configure.ac > $MYTMP/files/configure.ac
-version=`get_configure_ac_version`
-case "$(match_version $version)" in
- prerelease|candidate|release)
- sed -i -e "1s/.*/Prepare release $version/" "$1"
- ;;
-esac
-
-exit 0