blob: 37a8ec6098ab012306ad43b4a6e2efa888d6b78a (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/usr/bin/env nix-shell
#!nix-shell -i nu -p nushell common-updater-scripts zon2nix
let latest_tag = list-git-tags --url=https://codeberg.org/river/river | lines | sort --natural | str replace v '' | last
update-source-version river $latest_tag
http get $"https://codeberg.org/river/river/raw/tag/v($latest_tag)/build.zig.zon" | save build.zig.zon
zon2nix > pkgs/by-name/ri/river/build.zig.zon.nix
|