From 8c9b22c1fc1ef50705bb053cc9cc68ed0ec1dc75 Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Tue, 18 Oct 2016 10:06:20 -0500 Subject: remove branch stuff from version.sh --- version.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/version.sh b/version.sh index 9b53415..3975304 100755 --- a/version.sh +++ b/version.sh @@ -1,10 +1,5 @@ #!/bin/bash -VERSION=`git describe --tags` -BRANCH=$(git branch | grep '^*' | sed 's/^\* //') - -if [[ $BRANCH != "master" ]] && [[ $BRANCH != "(no branch)" ]]; then - VERSION="$VERSION-$BRANCH" -fi +VERSION=`git describe` echo -e "#ifndef __VERSION_H__\r\n#define __VERSION_H__\r\n\r\n#define MTDOT_BOX_VERSION \"$VERSION\"\r\n\r\n#endif" > dotbox_version.h -- cgit v1.2.3