snapshots: access current installers via "current" path
original commit: 3afdf8c62258af6e0e4e8cd35deda9ca7868e885
This commit is contained in:
parent
cd6ee4e29f
commit
ea23f1def5
|
@ -45,10 +45,13 @@
|
||||||
(printf "Removing snapshot ~a\n" s)
|
(printf "Removing snapshot ~a\n" s)
|
||||||
(delete-directory/files (build-path snapshots-dir s))))
|
(delete-directory/files (build-path snapshots-dir s))))
|
||||||
|
|
||||||
|
(printf "Creating \"current\" link\n")
|
||||||
|
(make-file-or-directory-link current-snapshot link-file)
|
||||||
|
|
||||||
(make-download-page (build-path site-dir
|
(make-download-page (build-path site-dir
|
||||||
installers-dir
|
installers-dir
|
||||||
"table.rktd")
|
"table.rktd")
|
||||||
#:installers-url (string-append current-snapshot "/installers/")
|
#:installers-url "current/installers/"
|
||||||
#:dest (build-path snapshots-dir
|
#:dest (build-path snapshots-dir
|
||||||
"index.html")
|
"index.html")
|
||||||
#:git-clone (current-directory)
|
#:git-clone (current-directory)
|
||||||
|
@ -56,6 +59,3 @@
|
||||||
(a ((href ,(string-append current-snapshot
|
(a ((href ,(string-append current-snapshot
|
||||||
"/index.html")))
|
"/index.html")))
|
||||||
,current-snapshot))))
|
,current-snapshot))))
|
||||||
|
|
||||||
(printf "Creating \"current\" link\n")
|
|
||||||
(make-file-or-directory-link current-snapshot link-file)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user