diff options
| author | Max Audron <audron@cocaine.farm> | 2022-06-09 17:32:02 +0200 |
|---|---|---|
| committer | Maximilian Manz <maximilian.manz@de.clara.net> | 2022-06-20 11:33:04 +0200 |
| commit | 1e371c89126a6b1ae7001e983373bdc1ea95c735 (patch) | |
| tree | b748b338add0a1d0cd1e3baa620164f6ab14a199 | |
| parent | prepare release 1.0.0 (diff) | |
add gitlab upload command
| -rw-r--r-- | flake.nix | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -75,6 +75,10 @@ cargo = rust; rustc = rust; }; + + gitlab-upload = makeBinScript "gitlab-upload" '' + ${pkgs.curl} -f --header "PRIVATE-TOKEN: $GITLAB_API_TOKEN" --upload-file result/bin/gtree https://gitlab.com/api/v4/projects/${project_id}/packages/generic/${name}/${version}/$1 + ''; in rec { # `nix build` packages.gtreeStatic = naersk-lib.buildPackage { |
