official wat to list prebuilt binaries #5122

Closed
bmeck opened this Issue Mar 22, 2013 · 2 comments

Projects

None yet

2 participants

bmeck commented Mar 22, 2013

right now nvm and n are scraping nodejs.org/dist to figure out what versions are available, listing these rather than scrapping would be really nice. especially when performing a simple replication only on specific semver versions.

bmeck commented Mar 25, 2013

An example on how to do this semi-properly (does not work on windows)

  NODE_REPO=${NODE_REPO:="https://github.com/joyent/node.git"}
  local tags=$(git ls-remote --tags "$NODE_REPO" | awk '{print $2}' | grep -Ev '\^\{\}$' | sed 's/^refs\/tags\///');
  if [ "$1" != "all" ]; then
    tags=$(echo "$tags" | grep -E '^v[0-9]+.[0-9]+.[0-9]+$')
  fi
  echo "$tags"
Owner
jasnell commented Jun 22, 2015

Closing. Would defer to either nodejs/build or nodejs/website WGs

@jasnell jasnell closed this Jun 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment