Make auto update working.
This commit is contained in:
parent
878d52ee27
commit
97e30a68ec
3 changed files with 33 additions and 17 deletions
|
|
@ -45,7 +45,7 @@
|
|||
(synopsis "The verbosity level."))
|
||||
(switch
|
||||
(name 'submodule-update) (default #false) (test boolean?)
|
||||
(synopsis "Fetch update subtree source repo"))
|
||||
(synopsis "Fetch update submodule source repo"))
|
||||
(switch
|
||||
(name 'pkg-clean) (default #false) (test boolean?)
|
||||
(synopsis "Remove packages from repo that's not in autogen subtree."))
|
||||
|
|
@ -174,7 +174,8 @@ git repository.")
|
|||
""
|
||||
"autogen"
|
||||
"README-repo.org"
|
||||
(option-ref options 'verbosity))
|
||||
(option-ref options 'verbosity)
|
||||
#:file-dst "README.org")
|
||||
(cp-repo-file repo
|
||||
""
|
||||
"autogen"
|
||||
|
|
@ -318,7 +319,7 @@ git repository.")
|
|||
repo-pkgs)))
|
||||
|
||||
;; Commit and push the updates to master if requested.
|
||||
(if (option-ref options 'repo-push)
|
||||
(repo-push-master))
|
||||
(if (option-ref options 'remote-push)
|
||||
(repo-push-master repo))
|
||||
|
||||
(display "Completed successfully ...") (newline)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue