aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-06-25 14:31:04 +0200
committerLoïc Hoguin <[email protected]>2020-06-25 14:31:04 +0200
commit17c5e8eeae101a02497fa282e0c05d90560dc49f (patch)
tree91cb2272b8ac5785a97b31da84e9c3801949356d
parenta882739222df0ad73ab0cab24ae620e05f1b5827 (diff)
downloadranch-17c5e8eeae101a02497fa282e0c05d90560dc49f.tar.gz
ranch-17c5e8eeae101a02497fa282e0c05d90560dc49f.tar.bz2
ranch-17c5e8eeae101a02497fa282e0c05d90560dc49f.zip
Fix "make prepare_tag" tag sort order
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 84986ff..882bc21 100644
--- a/Makefile
+++ b/Makefile
@@ -68,8 +68,8 @@ ci-setup:: $(DEPS_DIR)/ct_helper
prepare_tag:
$(verbose) echo -n "Most recent tag: "
- $(verbose) git tag | tail -n1
- $(verbose) git verify-tag `git tag | tail -n1`
+ $(verbose) git tag --sort=creatordate | tail -n1
+ $(verbose) git verify-tag `git tag --sort=creatordate | tail -n1`
$(verbose) echo -n "MAKEFILE: "
$(verbose) grep -m1 PROJECT_VERSION Makefile
$(verbose) echo -n "APP: "