aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-01-25 22:05:50 +0000
committerArun Isaac2024-01-25 22:05:50 +0000
commita72e4e91580fc716c86c7d9bce5aa8be72b7b78e (patch)
treee1a71ee26839bfc603f95ed1893735008f27dc34
parentaf2f18534bd38703b98cb329d3110a8073d39fb6 (diff)
downloadccwl-a72e4e91580fc716c86c7d9bce5aa8be72b7b78e.tar.gz
ccwl-a72e4e91580fc716c86c7d9bce5aa8be72b7b78e.tar.lz
ccwl-a72e4e91580fc716c86c7d9bce5aa8be72b7b78e.zip
configure: Sort tags latest first when picking version.
* configure.scm (version): Sort tags latest first when picking out the version.
-rw-r--r--configure.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.scm b/configure.scm
index a271879..e2428f2 100644
--- a/configure.scm
+++ b/configure.scm
@@ -1,5 +1,5 @@
;;; ccwl --- Concise Common Workflow Language
-;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2022, 2024 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of ccwl.
;;;
@@ -121,7 +121,7 @@ arguments."
(string-append datarootdir "/info"))))))))
(define version
- (call-with-input-pipe (list "git" "tag" "--sort=taggerdate"
+ (call-with-input-pipe (list "git" "tag" "--sort=-taggerdate"
"--list" "v*")
(lambda (port)
(let ((line (get-line port)))