Merge branch 'fix-version' of https://github.com/slokhorst/motion into slokhorst-fix-version

This commit is contained in:
MrDave
2016-10-24 21:13:45 -06:00
3 changed files with 21 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
#!/bin/sh
SNV_VERSION=`git show -s --format=%h`
echo -n "4.0+git$SNV_VERSION"
BASE_VERSION="4.0"
if [ -d .git ]; then
GIT_COMMIT=`git show -s --format=%h`
echo -n "$BASE_VERSION+git$GIT_COMMIT"
else
echo -n "$BASE_VERSION"
fi

View File

@@ -1,4 +1,8 @@
#!/bin/sh
SNV_VERSION=`git show -s --format=%h`
echo -n "4.0+git$SNV_VERSION"
BASE_VERSION="4.0"
if [ -d .git ]; then
GIT_COMMIT=`git show -s --format=%h`
echo -n "$BASE_VERSION+git$GIT_COMMIT"
else
echo -n "$BASE_VERSION"
fi

View File

@@ -1,3 +1,8 @@
#!/bin/sh
SNV_VERSION=`git show -s --format=%h`
echo -n "4.0+git$SNV_VERSION"
BASE_VERSION="4.0"
if [ -d .git ]; then
GIT_COMMIT=`git show -s --format=%h`
echo -n "$BASE_VERSION+git$GIT_COMMIT"
else
echo -n "$BASE_VERSION"
fi