Skip to content

Instantly share code, notes, and snippets.

@Berdir
Last active January 1, 2026 11:12
Show Gist options
  • Select an option

  • Save Berdir/4719e45f7a686b8aa4c2383af690a54e to your computer and use it in GitHub Desktop.

Select an option

Save Berdir/4719e45f7a686b8aa4c2383af690a54e to your computer and use it in GitHub Desktop.
mrn
alias mrn='curl "https://api.drupal-mrn.dev/changelog?project=${PWD##*/}&to=`git tag --sort=committerdate | tail -1`&from=`git tag --sort=committerdate | tail -2 | head -1`&format=html"'
# Version for fish
alias --save mrn='curl "https://api.drupal-mrn.dev/changelog?project=$(basename $PWD)&to=$(git tag --sort=committerdate | tail -1)&from=$(git tag --sort=committerdate | tail -2 | head -1)&format=html"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment