Commit 5a623954 authored by helmo's avatar helmo
Browse files

Add script to generate part of the release notes

parent e7a6a1eb
#!/bin/sh -e
# Print changes for all packaged modules.
# This expects local checkouts to be available.
# To be used in the release notes on
modules="hostmaster provision hosting eldir hosting_civicrm hosting_git hosting_remote_import hosting_site_backup_manager hosting_tasks_extra"
if [ -z "$1" ]; then
echo "Usage: $0 <previous release tag>"
exit 1
cd ..
for shortname in $modules; do
cd $shortname >> /dev/null;
git pull --quiet
echo "**Changes to $shortname since $prev_release**"
drush rn --baseurl= --md $prev_release HEAD | grep -v "Changes since $prev_release"
cd - >> /dev/null;
cd -
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment