1#!/usr/bin/env nix-shell
2#!nix-shell -i bash -p curl cacert nix common-updater-scripts --pure
3#shellcheck shell=bash
4
5set -eu -o pipefail
6
7# upstream doesn't use git, but has this file specifically for versioning
8version="$(curl https://randombytes.cr.yp.to/librandombytes-latest-version.txt)"
9
10update-source-version librandombytes "$version"
11