From: Tobias Ulmer Date: Tue, 24 Jul 2012 12:51:21 +0000 (+0200) Subject: Remove unused scripts X-Git-Tag: e2factory-2.3.13rc1~226 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=3082b5563600e7c598e8a5805a2166e29a1a8a76;p=e2factory.git Remove unused scripts Signed-off-by: Tobias Ulmer --- diff --git a/scripts/buildversion.sh b/scripts/buildversion.sh deleted file mode 100755 index 02af005..0000000 --- a/scripts/buildversion.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -e -# -# buildversion.sh (C) 2007 by emlix GmbH -# -# syntax: -# buildversion.sh -# -# if .git is available use git describe to get a version identifier. -# otherwise use the first line of ./VERSION as the version identifier. -# -# print the version identifier to stdout - -if [ -d ./.git ] ; then - VERSION=$(git describe --tags) -elif [ -f ./version ] ; then - VERSION=$(head -n1 version) -else - echo >&2 "can't find version identifier" - exit 1 -fi -echo "$VERSION" -exit 0 diff --git a/scripts/release.sh b/scripts/release.sh deleted file mode 100755 index bb08147..0000000 --- a/scripts/release.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -e -# -# release.sh (C) 2007 by emlix GmbH -# -# syntax: -# release.sh -# -# this script creates a release as follows: -# -# 1. write the release name to ./VERSION -# 2. create a commit tracking the change to the VERSION file -# 3. create a tag named VERSION -# -# The VERSION file is used by buildversion.sh to create a name -# describing the state of the working copy as detailed as possible. -# - -VERSION="$1" - -if [ -z "$VERSION" ] ; then - echo "Error: empty version" - exit 1 -fi - -TAG="$VERSION" - -if git tag -l "^$TAG\$" ; then - echo "Error: tag exists: $TAG" - exit 1 -fi - -cat >VERSION <