mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-25 23:01:38 +00:00
Move --count parameter
This commit is contained in:
parent
8c7b9e2f90
commit
e6e7f9377f
@ -31,7 +31,7 @@ fi
|
|||||||
|
|
||||||
# Add the build tag on non-master branches
|
# Add the build tag on non-master branches
|
||||||
if [ "$BRANCH" != "master" ]; then
|
if [ "$BRANCH" != "master" ]; then
|
||||||
BUILD=$(git rev-list $TAG..HEAD --count 2>/dev/null)
|
BUILD=$(git rev-list --count $TAG..HEAD 2>/dev/null)
|
||||||
|
|
||||||
# Did getting the count of commits since the tag succeed?
|
# Did getting the count of commits since the tag succeed?
|
||||||
if [ $? != 0 ] || [ -z "$BUILD" ]; then
|
if [ $? != 0 ] || [ -z "$BUILD" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user