Skip to content

Commit

Permalink
Bump to v0.1.1 and add version to release zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashlynn Anderson committed Oct 29, 2020
1 parent dfd3548 commit cc00564
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ let
ankiAddonFilter = name: _:
lib.hasSuffix ".py" name ||
lib.hasSuffix ".json" name;
in stdenvNoCC.mkDerivation {
in stdenvNoCC.mkDerivation rec {
pname = "passfail2";
version = "0.1.0";
version = "0.1.1";

src = builtins.filterSource ankiAddonFilter ./.;

phases = [ "unpackPhase" "buildPhase" ];

buildPhase = ''
mkdir -p $out
${zip}/bin/zip -r $out/passfail2.ankiaddon *
${zip}/bin/zip -r $out/passfail2-v${version}.ankiaddon *
'';
}

0 comments on commit cc00564

Please sign in to comment.