From c58b319596c81a7f6af2adf03933cdd8865ce614 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Wed, 29 May 2024 22:08:35 +0200 Subject: [PATCH] show the unreleased changes for an integration (#774) --- show_unreleased.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 show_unreleased.sh diff --git a/show_unreleased.sh b/show_unreleased.sh new file mode 100755 index 000000000..17f18f22c --- /dev/null +++ b/show_unreleased.sh @@ -0,0 +1,9 @@ +#!/bin/bash +INTEGRATION=$1 +if [ -z "${INTEGRATION}" ] ; then + echo "Please provide the name of an integration, for example:" + echo "./$(basename $0) chroma" + exit 1 +fi +LATEST_TAG=$(git tag -l --sort=-creatordate "integrations/${INTEGRATION}-v*" | head -n 1) +git --no-pager diff $LATEST_TAG..main integrations/${INTEGRATION}