Skip to content

Commit

Permalink
show the unreleased changes for an integration (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
masci authored May 29, 2024
1 parent e63b2b0 commit c58b319
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions show_unreleased.sh
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit c58b319

Please sign in to comment.