[script] Count rev count in current branch only

pull/730/head
Yelin Lu 6 years ago
parent 9d11ed79d5
commit d4bae2bd22
  1. 2
      scripts/go_executable_build.sh

@ -81,7 +81,7 @@ EOF
function build_only function build_only
{ {
VERSION=$(git rev-list --all --count) VERSION=$(git rev-list --count HEAD)
COMMIT=$(git describe --always --long --dirty) COMMIT=$(git describe --always --long --dirty)
BUILTAT=$(date +%FT%T%z) BUILTAT=$(date +%FT%T%z)
BUILTBY=${USER}@ BUILTBY=${USER}@

Loading…
Cancel
Save