Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save MaksimAbramchuk/618d105fd8b3991fea8d to your computer and use it in GitHub Desktop.

Select an option

Save MaksimAbramchuk/618d105fd8b3991fea8d to your computer and use it in GitHub Desktop.
$PULL_REQUEST_URL | grep -o -E ‘[0–9]+$’ | head -1 | sed -e ‘s/^0\+//’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment