Skip to content

Commit

Permalink
always emit long version format
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Nov 10, 2022
1 parent 3dc2a43 commit a26f6ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_git_version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
INC_DIR=$1

GIT_VERSION=$(git describe --always --tags)
GIT_VERSION=$(git describe --always --tags --long)

echo "#define SEQWISH_GIT_VERSION" \"$GIT_VERSION\" > $1/seqwish_git_version.hpp.tmp
diff $1/seqwish_git_version.hpp.tmp $1/seqwish_git_version.hpp >/dev/null || cp $1/seqwish_git_version.hpp.tmp $1/seqwish_git_version.hpp
Expand Down

0 comments on commit a26f6ad

Please sign in to comment.