Commit 1a7689f2 authored by Robert Ricci's avatar Robert Ricci

Put the date and git commit in the version field

parent 42829cf0
......@@ -3,13 +3,20 @@
(require scribble/decode)
(require racket/class)
(require racket/draw)
(require racket/system)
(require racket/port)
(provide (all-defined-out))
(define apt-base-url "https://www.aptlab.net/")
(define apt-version "1.1")
; We want the 'version' to be the date of the most recent commit
(define apt-version
(with-output-to-string
(lambda () (system "git show -s --date=short --format='%cd (%h)' HEAD"))))
; Arbitrary width that works reasonably well with the manual class's main
; column width
(define screenshot-width 650)
(define apturl
......@@ -42,4 +49,3 @@
(screenshot screenshot-path)
(void))
(decode-content body)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment