Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
F
Fintan Halpenny
build: remove quotes from rust-version
CI — 0 passed, 1 failed
z6Mki2ag...Tyuy failure
11 months ago 6f25d73d3df062e7b49df4b2e9dd7cb5aa3a98ca History
heartwood build rust-version
#! /usr/bin/env bash
set -euo pipefail

if ! version=$(grep -m 1 -oP '^\s*channel\s*=\s*"?\K([\d\.]+)' rust-toolchain.toml)
then
  echo "fatal: no rust version found via rust-toolchain.toml" >&2
  exit 1
else
  echo "$version"
fi