mirror of
https://github.com/opnsense/core.git
synced 2026-12-04 01:18:36 +00:00
Scripts: roll this back slightly
We're sticking with hash for the commit hash and tree for the tree hash.
This commit is contained in:
1 parent
9473c8a62a
commit
906d6da2c7
1 file changed
+2
-2
+2
-2
@@ -29,7 +29,7 @@ set -e
|
||||
|
||||
VERSION=$(git describe --abbrev=0 --always ${1})
|
||||
REVISION=$(git rev-list ${VERSION}.. --count)
|
||||
COMMIT=$(git rev-parse --short=9 HEAD)
|
||||
HASH=$(git rev-parse --short=9 HEAD)
|
||||
TREE=$(git rev-parse 'HEAD^{tree}')
|
||||
|
||||
echo ${VERSION} ${REVISION} ${COMMIT} ${TREE}
|
||||
echo ${VERSION} ${REVISION} ${HASH} ${TREE}
|
||||
Reference in new issue
Block a user