Skip to content

Commit c596b40

Browse files
committed
update script
1 parent ee52c47 commit c596b40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infra/scripts/prepare_release_msg.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22
#
33
# Generate current release message based on active develop branch name
4-
set -xv
4+
55
CURRENTVERSION=$(git tag | sort -r | tr '\n' ' ' | cut -d" " -f1)
66

77
LATESTVERSION=$(git tag | sort -r | tr '\n' ' ' | cut -d" " -f2)
88

9-
GITLOG=$(git log "$LATESTVERSION..HEAD" --oneline)
9+
GITLOG=$(git log "$LATESTVERSION.." --oneline)
1010

1111
ADDED=$(echo "$GITLOG" | grep -E "\[(feat|test)\]" | sed 's/^/- /')
1212
if [ -n "$ADDED" ]

0 commit comments

Comments
 (0)