2019-12-21 16:36:16 +03:00
|
|
|
# SPDX-FileCopyrightText: 2019 Serokell <https://serokell.io>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2020-06-24 01:14:45 +03:00
|
|
|
{ pkgs ? import (import ../nix/sources.nix).nixpkgs { }, timestamp }:
|
2019-12-21 16:36:16 +03:00
|
|
|
let
|
2020-06-24 01:14:45 +03:00
|
|
|
executable =
|
|
|
|
(import ../xrefcheck.nix { static = true; }).components.exes.xrefcheck;
|
|
|
|
|
|
|
|
releaseNotes = pkgs.writeText "release-notes.md" ''
|
|
|
|
Automatic release on ${timestamp}
|
|
|
|
'';
|
|
|
|
in pkgs.linkFarm "xrefcheck-release" [
|
|
|
|
{
|
|
|
|
name = "release-notes.md";
|
|
|
|
path = releaseNotes;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "xrefcheck-x86_64-linux";
|
|
|
|
path = "${executable}/bin/xrefcheck";
|
|
|
|
}
|
2019-12-21 16:36:16 +03:00
|
|
|
]
|