Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
fixup! build: move to use `releases/` prefix
◌ CI pending Richard Levitte committed 9 months ago
commit 44e881a3e253f2ade341d7584922fb4eed7e37e6
parent b4a6d3f514ba20453aee80fcd5a519b6d10486d7
1 pending (1 total) View logs
1 file changed +2 -2
modified build/version
@@ -3,7 +3,7 @@
if ! version="$(git describe --match='releases/*' --candidates=1 2>/dev/null)"; then
  echo "fatal: no version tag found by 'git describe'" >&2 ; exit 1
fi
-
# Remove the `releases` prefix from version.
-
version=$(sed -s 's/^releases\///')
+
# Remove the `releases/` prefix from version.
+
version=${version#releases/}

echo "$version"