mirror of
https://github.com/Motion-Project/motion.git
synced 2026-04-21 06:27:00 -04:00
Merge branch 'fix-version' of https://github.com/slokhorst/motion into slokhorst-fix-version
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user