mirror of
https://github.com/hyprspace/hyprspace.git
synced 2026-09-14 11:06:22 +05:00
* add hercules-ci-effects
* flake.lock: Update
Flake lock file updates:
• Added input 'hercules-ci-effects':
'github:max-privatevoid/hercules-ci-effects/b8127446a483cfd91495037e343b592662033188?narHash=sha256-xlxgYZ0eCnr9ikQuM5VuD8rUjLdbGzSKgF2EoRKDn/8%3D' (2025-07-01)
• Added input 'hercules-ci-effects/flake-parts':
follows 'flake-parts'
• Added input 'hercules-ci-effects/nixpkgs':
follows 'nixpkgs'
* provide binary artifacts via github releases
* auto-tag releases from current package version
23 lines
448 B
Nix
23 lines
448 B
Nix
{
|
|
config,
|
|
lib,
|
|
withSystem,
|
|
...
|
|
}:
|
|
|
|
{
|
|
hercules-ci.github-releases = {
|
|
condition = { branch, ... }: branch == "master";
|
|
releaseTag =
|
|
_: "v${withSystem config.defaultEffectSystem ({ config, ... }: config.packages.hyprspace.version)}";
|
|
filesPerSystem =
|
|
{ config, system, ... }:
|
|
[
|
|
{
|
|
label = "hyprspace-${system}";
|
|
path = lib.getExe config.packages.hyprspace;
|
|
}
|
|
];
|
|
};
|
|
}
|