From 6dc1135f17c4440f12d8992ed8ee030b01b4d567 Mon Sep 17 00:00:00 2001 From: Arya Irani <538571+aryairani@users.noreply.github.com> Date: Thu, 21 Dec 2023 08:22:59 -1000 Subject: [PATCH 1/3] don't call M releases the latest though this will exclude anything with an M in it, which may be wrong someday. --- scripts/make-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make-release.sh b/scripts/make-release.sh index 0ab5dfb8b8..ce70c105ad 100755 --- a/scripts/make-release.sh +++ b/scripts/make-release.sh @@ -18,7 +18,7 @@ usage() { echo "E.g." echo "$0 M4a" echo "" - echo "The latest release is: $(git tag --list 'release/*' | sort -r | head -n 1 | sed 's/release\///')" + echo "The latest release is: $(git tag --list 'release/*' | grep -v M | sort -r | head -n 1 | sed 's/release\///')" } if [[ -z "$1" ]] ; then From 59aa423eced1a4dcf8af0ecd344b7eeed61b9d9f Mon Sep 17 00:00:00 2001 From: Arya Irani <538571+aryairani@users.noreply.github.com> Date: Fri, 5 Jan 2024 11:23:29 -1000 Subject: [PATCH 2/3] Update scripts/make-release.sh Co-authored-by: Chris Penner --- scripts/make-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make-release.sh b/scripts/make-release.sh index ce70c105ad..de9945eeab 100755 --- a/scripts/make-release.sh +++ b/scripts/make-release.sh @@ -18,7 +18,7 @@ usage() { echo "E.g." echo "$0 M4a" echo "" - echo "The latest release is: $(git tag --list 'release/*' | grep -v M | sort -r | head -n 1 | sed 's/release\///')" + echo "The latest release is: $(git tag --list 'release/*' | grep -v M | sort -rV | head -n 1 | sed 's/release\///')" } if [[ -z "$1" ]] ; then From 9483d511b25aac45a1e5d90fd43d986d276d185e Mon Sep 17 00:00:00 2001 From: Arya Irani <538571+aryairani@users.noreply.github.com> Date: Fri, 5 Jan 2024 11:25:21 -1000 Subject: [PATCH 3/3] Update scripts/make-release.sh --- scripts/make-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make-release.sh b/scripts/make-release.sh index de9945eeab..a8cba3b7aa 100755 --- a/scripts/make-release.sh +++ b/scripts/make-release.sh @@ -18,7 +18,7 @@ usage() { echo "E.g." echo "$0 M4a" echo "" - echo "The latest release is: $(git tag --list 'release/*' | grep -v M | sort -rV | head -n 1 | sed 's/release\///')" + echo "I think the latest release is: $(git tag --list 'release/*' | grep -v M | sort -rV | head -n 1 | sed 's/release\///')" } if [[ -z "$1" ]] ; then