Skip to content

Commit

Permalink
Merge pull request #107 from ekg/long_versioning
Browse files Browse the repository at this point in the history
always emit long version format
  • Loading branch information
AndreaGuarracino authored Nov 10, 2022
2 parents 3dc2a43 + a26f6ad commit f362f6f
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 f362f6f

Please sign in to comment.