We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b502eb5 commit a04aa8aCopy full SHA for a04aa8a
1 file changed
src/slivarpkg/version.nim
@@ -1,2 +1,4 @@
1
+import strutils
2
+
3
const slivarVersion* = "0.3.4"
-const slivarGitCommit* = staticExec("git rev-parse --verify HEAD")
4
+const slivarGitCommit* = staticExec("git rev-parse --verify HEAD 2>/dev/null").strip()
0 commit comments