mirror of
https://github.com/anthonyoteri/dredge.git
synced 2026-06-05 15:26:53 -04:00
0e4219b405
This changes the effective license from a simple Apache-2.0 license to a dual license consisting of both Apache-2.0 and the MIT license to be more compatible for use in GPL Code. The MIT license requires reproducing countless copies of the same copyright header with diffferent names in the copyright field, for every MIT library in use. The Apache license does not have this drawback. However, this is not the primary motivation for creating these issues. The Apache license also has protections from patent trolls and explicit contribuition licensing clause. However the Apache license is incompatible with GPLv2. This is why Rust is dual-licensed as MIT/Apache (the "primary" license being Apache, MIT only for GPLv2 compat), and doing so would be wise for this project. This also makes this crate suitable for inclusion and unrestricted sharing in the Rust standard distribution and other projects using dual MIT/Apache.
24 lines
755 B
Bash
Executable File
24 lines
755 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
#
|
|
# Copyright 2023 Anthony Oteri
|
|
#
|
|
# Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
|
|
# http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
|
|
# http://opensource.org/licenses/MIT>, at your option. This file may not be
|
|
# copied, modified, or distributed except according to those terms.
|
|
#
|
|
|
|
set -e
|
|
|
|
REPO_ROOT=$(git rev-parse --show-toplevel)
|
|
|
|
RELEASE_NOTES="${REPO_ROOT}/RELEASE_NOTES.md"
|
|
/usr/bin/cat "${REPO_ROOT}/docs/release-notes-template.md" | tee "${RELEASE_NOTES}"
|
|
|
|
for note in $(/usr/bin/find "${REPO_ROOT}/docs" -name "changelog*.md" -print | sort -rn); do
|
|
/usr/bin/cat "${note}" | tee -a "${RELEASE_NOTES}"
|
|
echo "" | tee -a "${RELEASE_NOTES}"
|
|
echo "" | tee -a "${RELEASE_NOTES}"
|
|
done
|