blog

Source files for chris.bracken.jp
git clone https://git.bracken.jp/blog.git
Log | Files | Refs | Submodules | README | LICENSE

commit 754d46c132e795bb1ef2df051de9e6cbd1f482c7
parent a13a0742ed4a64f0e1a4051e35ec6b7eca0c1c5f
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed, 22 Jun 2022 18:25:12 -0700

Ensure submodules are updated before publishing

This avoids the case where I haven't initialised the theme submodule
before publishing.

Diffstat:
Mpublish.sh | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/publish.sh b/publish.sh @@ -24,6 +24,9 @@ if has_diffs .; then exit 1 fi +# Ensure submodules are updated. +git submodule update --init + # If public dir exists, abort. if [ -d public ]; then echo >&2 "public directory exists. Remove and re-run. Aborting."