We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eec49f3 commit b2c71a1Copy full SHA for b2c71a1
scripts/release/new-version.sh
@@ -42,12 +42,14 @@ function menu() {
42
43
SHORTCOMMIT="$(git rev-parse --short HEAD)"
44
45
- PREV_VERSION="$(git tag --sort=committerdate | tail -1)"
+ PREV_VERSION="$(git tag | sort -V | tail -1)"
46
if [ -z "${PREV_VERSION}" ] || [ "${PREV_VERSION}" = "${SHORTCOMMIT}" ]
47
then
48
PREV_VERSION="v0.0.0"
49
fi
50
51
+ echo "Current version: ${PREV_VERSION}"
52
+
53
case "$selection" in
54
1)
55
printf "Major updates......\n"
0 commit comments