fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
ccfbfe996
master
1name : "Update Python and Sphinx" 2 3sources : 4python_version : 5kind : shell 6spec : 7command : | 8build_tools/version-available-in-debian.sh stable python3-defaults 9sphinx_version : 10kind : shell 11spec : 12shell : bash 13command : | 14set -eo pipefail 15tag=$(curl -fsS https://api.github.com/repos/sphinx-doc/sphinx/releases/latest | 16jq -r .tag_name) 17printf %s "$tag" | grep -qE '^v[0-9]+\.[0-9]\..*' 18version=${tag#v} 19echo "${version%.*}" 20 21targets : 22update_python_version : 23name : "Update Python version" 24sourceid : python_version 25kind : file 26spec : 27file : pyproject.toml 28matchpattern : 'requires-python = ">=\d+.\d+".*' 29replacepattern : 'requires-python = ">={{ source "python_version" }}" # updatecli.d/python.yml' 30update_sphinx_version : 31name : "Update Sphinx version" 32sourceid : sphinx_version 33kind : file 34spec : 35file : pyproject.toml 36matchpattern : '"sphinx>=\d+\.\d+",(?:\s*#.*)?' 37replacepattern : '"sphinx>={{ source "sphinx_version" }}", # updatecli.d/python.yml'