Skip to content

Commit 6a35e89

Browse files
authored
chore(changelog): add bash script for git (#4300)
* chore(changelog): add bash script for git * add shebang
1 parent 66f965c commit 6a35e89

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎scripts/changelog.sh‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#! /bin/bash
2+
if [ -z $1 ]
3+
then
4+
echo 'Usage: changelog.sh @patternfly/react-core@version';
5+
exit 1;
6+
fi;
7+
8+
git log --pretty="format:%ci %s" --perl-regexp --author='^((?!patternfly-build).*)$' $1..HEAD

0 commit comments

Comments
 (0)