Skip to content

Commit 81cccc2

Browse files
committed
update script
1 parent 3c4d9e7 commit 81cccc2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

infra/scripts/prepare_release_msg.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
#
33
# Generate current release message based on active develop branch name
44

5-
set -xv
6-
7-
CURRENTVERSION=$(cat $(dirname $0)/../../docs/VERSION.md)
5+
CURRENTVERSION=$(git tag | sort -r | tr '\n' ' ' | cut -d" " -f1)
6+
#$(cat $(dirname $0)/../../docs/VERSION.md)
87
LATESTVERSION=$(git tag | sort -r | tr '\n' ' ' | cut -d" " -f2)
98

10-
git log
119
GITLOG=$(git log "...$LATESTVERSION" --oneline)
12-
set +xv
10+
1311
echo "$CURRENTVERSION - [Summary]"
1412
echo ""
1513
echo "[Description]"

0 commit comments

Comments
 (0)