Files
GitJournal/scripts/print_added_logs.sh
Vishesh Handa e1ec1c1b1e Remove useless debug statement
+ add missing license
2021-09-17 10:10:55 +02:00

11 lines
280 B
Bash
Executable File

#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2019-2021 Vishesh Handa <me@vhanda.in>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
set -eu
LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
git diff $LATEST_TAG | grep '^+' | grep -e 'Log.[vdiew]' -e print