Created
February 27, 2016 06:39
-
-
Save chrisbodhi/4100a458770ab48bdb71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var $messages = $('.commit-message code a.message'); | |
| var version = $messages | |
| .filter((i, mess) => mess.text.includes('Bump v')) | |
| .text() | |
| .split(' ')[1] | |
| .match(/[\d|\.]/g) | |
| .join(''); | |
| var sites = $messages | |
| .filter((i, message) => message.innerText.includes('impossibleventures/')) | |
| .map((i, pr) => pr.innerText.split('/')[1].split('-')[0].replace('.com', '')) | |
| .toArray() | |
| .sort() | |
| .join(', '); | |
| console.log(`${version}: Fixes ${sites}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment