#!/bin/bash # Super Grub Disk - supergrub-release-changes # Copyright (C) 2017 Adrian Gibanel Lopez. # # Super Grub Disk is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Super Grub Disk is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Super Grub Disk. If not, see . # This script is meant to be run after you have previously run these scripts: # ./supergrub-meta-mkrescue # ./supergrub-sourcecode # ./supergrub-all-zip-file # ./supergrub-checksums-in-one-file SUPER_GRUB2_DISK_FILE_PREFIX="super_grub2_disk" SGD2_SOURCE_DIR="$(pwd)" SG2D_DIR="${SGD2_SOURCE_DIR}" function generate_changes_news () { local CHANGES_OUTPUT="news-releases/changes.${sgrub_version}.html" if [ -e "${CHANGES_OUTPUT}" ] ; then rm "${CHANGES_OUTPUT}" fi cat << EOF >> "${CHANGES_OUTPUT}"

Changes since ${OLDER_SG2D_VERSION} version:

EOF } usage() { cat <