diff options
Diffstat (limited to 'docs/generate-changelog.sh')
| -rwxr-xr-x | docs/generate-changelog.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/generate-changelog.sh b/docs/generate-changelog.sh new file mode 100755 index 0000000..7509c9f --- /dev/null +++ b/docs/generate-changelog.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +# SPDX-FileCopyrightText: 2025 Linnea Gräf <nea@nea.moe> +# +# SPDX-License-Identifier: GPL-3.0-or-later +dbg() { + echo "$@" >&2 +} + +THIS_VERSION=$(git describe --tags --abbrev=0 HEAD|tr -d '\n') +LAST_VERSION=$(git describe --tags --abbrev=0 HEAD^|tr -d '\n') +echo "**Full Changelog**: <https://github.com/nea89o/Firmament/compare/$LAST_VERSION...$THIS_VERSION>" +git log --pretty='- %s ~%aN' --grep '[no changelog]' --invert-grep --fixed-strings "$LAST_VERSION..$THIS_VERSION" | sort |
