summaryrefslogtreecommitdiff
path: root/packages/generate.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/generate.source.sh')
-rw-r--r--packages/generate.source.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/generate.source.sh b/packages/generate.source.sh
index 25c292f4..b28d9e8e 100644
--- a/packages/generate.source.sh
+++ b/packages/generate.source.sh
@@ -134,7 +134,14 @@ generate::fromgmi () {
done
done
+ if [[ -z "$GIT_COMMIT_MESSAGE" ]]; then
+ GIT_COMMIT_MESSAGE='Publishing new version'
+ fi
for format in "$@"; do
+ git::commit "$format" "$GIT_COMMIT_MESSAGE"
log INFO "$format can be found in $CONTENT_BASE_DIR/$format now"
done
+
+ git::commit gemtext "$GIT_COMMIT_MESSAGE"
+ git::commit meta "$GIT_COMMIT_MESSAGE"
}