mirror of
https://github.com/status-im/status-react.git
synced 2025-01-17 14:32:00 +00:00
use commit of VERSION file
This commit is contained in:
parent
5049d48835
commit
f36d55ca70
@ -33,7 +33,8 @@ else
|
|||||||
LATEST_TAG="0.0.$COMMIT_COUNT"
|
LATEST_TAG="0.0.$COMMIT_COUNT"
|
||||||
COMMIT_COUNT_SINCE_TAG=0
|
COMMIT_COUNT_SINCE_TAG=0
|
||||||
else
|
else
|
||||||
COMMIT_COUNT_SINCE_TAG=$(git rev-list --count ${LATEST_TAG}..)
|
VERSION_CHANGE_COMMIT=$(git log -n 1 --pretty=format:%H -- ../../VERSION)
|
||||||
|
COMMIT_COUNT_SINCE_TAG=$(git rev-list --count ${VERSION_CHANGE_COMMIT}..)
|
||||||
LATEST_TAG=${LATEST_TAG##v} # Remove the "v" from the front of the tag
|
LATEST_TAG=${LATEST_TAG##v} # Remove the "v" from the front of the tag
|
||||||
fi
|
fi
|
||||||
if [ $COMMIT_COUNT_SINCE_TAG = 0 ]; then
|
if [ $COMMIT_COUNT_SINCE_TAG = 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user