Created
July 21, 2015 22:44
-
-
Save jdunck/4b455574164dd3ebaa98 to your computer and use it in GitHub Desktop.
Fetch all of rails' changelogs
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
for COMPONENT in actionmailer actionpack actionview activemodel activerecord activesupport; do | |
for VERSION in master 4-2-stable 4-1-stable 4-0-stable 3-2-stable 3-1-stable 3-0-stable; do | |
if [[ "$VERSION" == "3-0-stable" ]]; then | |
FN='CHANGELOG' | |
else | |
FN='CHANGELOG.md' | |
fi | |
curl "https://raw.githubusercontent.com/rails/rails/${VERSION}/${COMPONENT}/${FN}" > ${COMPONENT}-${VERSION}-CHANGELOG | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
actionview docs don't exist prior to 4.1, but otherwise this works up to 4.2+. This will need to be updated as new stables are released beyond 4.2.