mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-25 19:31:44 +03:00
18 lines
487 B
Bash
Executable File
18 lines
487 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# pushdocs [MSG] - commit manuals with ";doc: MSG" prefix, then push to CI & master
|
|
|
|
set -e
|
|
|
|
MSG=";doc: $1"
|
|
|
|
DOCS=(hledger/hledger.m4.md hledger-ui/hledger-ui.m4.md hledger-web/hledger-web.m4.md)
|
|
|
|
git commit -uno -m "$MSG" "${DOCS[@]}" hledger-web/hledger-web.m4.md || true
|
|
push \
|
|
&& printf "Docs should be up to date momentarily:\n\
|
|
\n\
|
|
https://hledger.org/dev/hledger.html\n\
|
|
https://hledger.org/dev/hledger-ui.html\n\
|
|
https://hledger.org/dev/hledger-web.html\n\
|
|
"
|