mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
Restrict git commit hash in tar file names to first 7 characters with
--short option.
This commit is contained in:
parent
d9489260e4
commit
03169f5b19
@ -279,7 +279,7 @@ if [ X$revmode = Xyes ]; then
|
||||
# "undo" changes to it.
|
||||
cp config/lt_vers.am $tmpdir
|
||||
branch=`git branch | grep '*' | awk '{print $NF}'`
|
||||
revision=`git rev-parse HEAD`
|
||||
revision=`git rev-parse --short HEAD`
|
||||
# Set version information to m.n.r-r$revision.
|
||||
# (h5vers does not correctly handle just m.n.r-$today.)
|
||||
VERS=`echo $VERS | sed -e s/-.*//`-$revision
|
||||
|
Loading…
Reference in New Issue
Block a user