Skip to content

Instantly share code, notes, and snippets.

@jdunck
Created July 21, 2015 22:44
Show Gist options
  • Save jdunck/4b455574164dd3ebaa98 to your computer and use it in GitHub Desktop.
Save jdunck/4b455574164dd3ebaa98 to your computer and use it in GitHub Desktop.
Fetch all of rails' changelogs
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
@jdunck
Copy link
Author

jdunck commented Jul 21, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment