Skip to content

Commit

Permalink
Fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Sep 26, 2019
1 parent f825c90 commit ef99aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ let
pkgs = import nixpkgs { system = "x86_64-linux"; };
version = "1.7" +
(if officialRelease then ""
else if src ? lastModified then "${builtins.substring 0 8 src.lastModified}.${src.shortRev}"
else "${toString src.revCount}_${src.shortRev}");
else if src ? lastModified then "pre${builtins.substring 0 8 src.lastModified}.${src.shortRev}"
else "pre${toString src.revCount}_${src.shortRev}");
in

rec {
Expand Down

0 comments on commit ef99aca

Please sign in to comment.