Skip to content

Instantly share code, notes, and snippets.

@mcollina
Last active November 15, 2017 22:51
Show Gist options
  • Save mcollina/cdfbf819740968bde9bc722eec854926 to your computer and use it in GitHub Desktop.
Save mcollina/cdfbf819740968bde9bc722eec854926 to your computer and use it in GitHub Desktop.
#! /bin/bash
set -x
set -e
curl -L https://github.com/nodejs/node/pull/$1.patch | git am --whitespace=fix
get-metadata $1 -f msg.txt
echo -e "$(git show -s --format=%B)\n\n$(cat msg.txt)" > msg.txt
git commit --amend -F msg.txt
git show -s --format=%B
./configure
make -j4 test
core-validate-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment