Skip to content

Commit cc5a258

Browse files
authored
don't include git commit metadata if we have a version tag (#142)
1 parent 5f0c19c commit cc5a258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ if test "${do_gitversion}" == "yes"; then
268268
# Omit the revision if there isn't one (i.e., we are at straight-up Version)
269269
if [ ! -z "${GIT_REVISION}" ]; then
270270
extra_pandoc_options+=" --metadata=revision:${GIT_REVISION}"
271-
elif [ ! -z "${GIT_COMMIT}" ]; then
271+
elif [ -z "${GIT_VERSION}" ]; then
272272
extra_pandoc_options+=" --metadata=revision:${GIT_COMMIT}"
273273
fi
274274

0 commit comments

Comments
 (0)