Skip to content

Commit

Permalink
Fall back to current commit hash as version string.
Browse files Browse the repository at this point in the history
Addresses #9
  • Loading branch information
lgarron committed May 14, 2023
1 parent 5919b16 commit 53301a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lint: lint-js
.PHONY: format
format: format-js

TWSEARCH_VERSION=$(shell git describe --tags)
TWSEARCH_VERSION=$(shell git describe --tags || git rev-parse HEAD)

# MAKEFLAGS += -j
CXXFLAGS = -O3 -Wextra -Wall -pedantic -std=c++14 -g -Wsign-compare
Expand Down

0 comments on commit 53301a5

Please sign in to comment.