We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18598f commit a47ad86Copy full SHA for a47ad86
contrib/nightly/create_tarball.sh
@@ -177,7 +177,7 @@ do_command "git checkout $gitbranch"
177
# Nightly tarballs are named in this format:
178
# openmpi-${BRANCHNAME}-${YYYYMMDDHHMM}-${SHORTHASH}.tar.${COMPRESSION}
179
timestamp=`date '+%Y%m%d%H%M'`
180
-githash=`git show '--pretty=format:%h'`
+githash=`git log -n 1 '--pretty=format:%h'`
181
version="$gitbranch-$timestamp-$githash"
182
if test -n "$debug"; then
183
echo "*** This snapshot version: $version"
0 commit comments