summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-12-06 21:43:14 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-12-06 21:44:00 (GMT)
commit267480b66c6438a6ae4700b8649242a19c694211 (patch)
tree47d9b5ae3f76cfd914170624957766e1e25c1f93
parent61d327c714a6ab5ceca505149c4e5d627f45eb2b (diff)
downloadpatchelf-267480b66c6438a6ae4700b8649242a19c694211.zip
patchelf-267480b66c6438a6ae4700b8649242a19c694211.tar.gz
patchelf-267480b66c6438a6ae4700b8649242a19c694211.tar.bz2
Gitify the pre-release version number
-rw-r--r--release.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index 0c47fa7..428b72a 100644
--- a/release.nix
+++ b/release.nix
@@ -1,4 +1,4 @@
-{ patchelfSrc ? {outPath = ./.; rev = 1234;}
+{ patchelfSrc ? { outPath = ./.; revCount = 1234; gitTag = "abcdef"; }
, officialRelease ? false
}:
@@ -14,6 +14,7 @@ let
pkgs.releaseTools.sourceTarball {
name = "patchelf-tarball";
version = builtins.readFile ./version;
+ versionSuffix = if officialRelease then "" else "pre${toString patchelfSrc.revCount}-${patchelfSrc.gitTag}";
src = patchelfSrc;
inherit officialRelease;
postDist = ''