mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
15e8ee51d4
* zerotierone: 1.10.3 -> 1.10.6 They stopped vendoring Cargo deps before 1.10.4, hence the version gap. * zerotierone: add an update script
8 lines
376 B
Bash
Executable File
8 lines
376 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p curl jq common-updater-scripts
|
|
|
|
version=$(curl --silent "https://api.github.com/repos/zerotier/ZeroTierOne/releases" | jq '.[0].tag_name' --raw-output)
|
|
|
|
curl --silent "https://raw.githubusercontent.com/zerotier/ZeroTierOne/$version/zeroidc/Cargo.lock" > "$(dirname "$0")/Cargo.lock"
|
|
update-source-version zerotierone "$version"
|