9 lines
268 B
Bash
9 lines
268 B
Bash
|
#!/usr/bin/env nix-shell
|
||
|
#!nix-shell -i bash -p curl jq common-updater-scripts
|
||
|
|
||
|
set -eu -o pipefail
|
||
|
|
||
|
version="$(curl --silent "https://api.github.com/repos/cockpit-project/cockpit/releases" | jq '.[0].tag_name' --raw-output)"
|
||
|
|
||
|
update-source-version cockpit "$version"
|