meebis 0.15.0

A fast, disposable, in-memory Redis-compatible server for ephemeral dev work
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
# asdf: print every installable version, oldest first, space separated.
#
# Read from the git tags rather than the releases API: the API allows 60
# unauthenticated requests an hour, and `asdf list all` is exactly the kind of
# thing someone runs a few times in a row.
set -euo pipefail

. "$(dirname "$0")/lib.sh"

git ls-remote --tags --refs "$REPO" |
  awk -F/ '{ print $NF }' |
  grep '^v[0-9][0-9.]*$' |
  sed 's/^v//' |
  sort_versions |
  tr '\n' ' '
echo