Make lola-release-notes useful as a non-interactive function too
This commit is contained in:
parent
04b113eb6b
commit
0819cc0e55
@ -5331,7 +5331,7 @@ The aws-mfa command:
|
||||
"~/lola/release-manager/release_notes")
|
||||
"The directory containing the release notes repository.")
|
||||
|
||||
(defun lola-release-notes (staged)
|
||||
(defun lola-release-notes (staged &optional repos)
|
||||
"Prints release notes for the latest release.
|
||||
If called with a prefix argument, prints release notes
|
||||
for the upcoming release instead."
|
||||
@ -5340,10 +5340,12 @@ The aws-mfa command:
|
||||
"lola-travel-service"
|
||||
"lola-desktop"))
|
||||
(repos
|
||||
(or
|
||||
repos
|
||||
(if (y-or-n-p "Query all repos?")
|
||||
all-repos
|
||||
(completing-read-multiple "Repos: "
|
||||
all-repos))))
|
||||
all-repos)))))
|
||||
(with-env-from-file (expand-file-name
|
||||
(concat release-notes-repo "/.env"))
|
||||
(async-shell-command
|
||||
|
Loading…
Reference in New Issue
Block a user