Use unknown when git dirty
Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
parent
dbd4fe2aab
commit
4c278e2f9d
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
|
|
||||||
GIT_COMMIT_HASH_SHORT = self.shortRev or "dirty"; # or self.dirtyRev;
|
GIT_COMMIT_HASH_SHORT = self.shortRev or "unknown";
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace crates/aiken/src/cmd/mod.rs \
|
substituteInPlace crates/aiken/src/cmd/mod.rs \
|
||||||
--replace "built_info::GIT_COMMIT_HASH_SHORT" \
|
--replace "built_info::GIT_COMMIT_HASH_SHORT" \
|
||||||
|
|
Loading…
Reference in New Issue