Skip to content

Commit

Permalink
Merge pull request #110 from ekg/fix-versioning
Browse files Browse the repository at this point in the history
Fix versioning
  • Loading branch information
AndreaGuarracino authored Mar 6, 2023
2 parents f362f6f + 4794fb0 commit a9c39bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/generate_git_version.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
INC_DIR=$1

# Go to the directory where the script is
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR"

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

echo "#define SEQWISH_GIT_VERSION" \"$GIT_VERSION\" > $1/seqwish_git_version.hpp.tmp
Expand Down

0 comments on commit a9c39bb

Please sign in to comment.