From c8294047f8587081b86d1bc339925d961280bf46 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Wed, 29 May 2024 19:16:17 +0200 Subject: [PATCH] show the unreleased changes for an integration --- 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}