mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix dropped "dev-" prefix from version tag
In commit c3a31666, "dev-" prefix was dropped unintentionally. This commit fixes
that.
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ LDFLAGS="$LDFLAGS -pthread -lm -lstdc++"
|
||||
if [ -d ".git" ] && [ $(which git) ]; then
|
||||
versionTag=( $(git show --pretty='%cd %h' --date=format:%Y-%m --no-patch --no-notes HEAD) )
|
||||
if [ $? -eq 0 ]; then
|
||||
ODIN_VERSION="${versionTag[0]}"
|
||||
ODIN_VERSION="dev-${versionTag[0]}"
|
||||
GIT_SHA="${versionTag[1]}"
|
||||
CPPFLAGS="$CPPFLAGS -DGIT_SHA=\"$GIT_SHA\""
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user