[Reproducible-commits] [blog] 01/01: automatically commit on publish. maybe run git push too?

Holger Levsen holger at layer-acht.org
Tue May 17 17:01:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository blog.

commit f6b9c78e0d83acf8f003622bac314aa546b74c48
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue May 17 18:59:10 2016 +0200

    automatically commit on publish. maybe run git push too?
---
 TODO           | 2 +-
 bin/publish.sh | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/TODO b/TODO
index fe0f5a9..56dc77d 100644
--- a/TODO
+++ b/TODO
@@ -7,8 +7,8 @@ to be documented:
 	bin/publish.sh
 
 TODO for bin/publish.sh:
-	should tag each release (so we can list commiters since last release)
 	should detect if committers are not listed in "This weeks edition was written by"…
+		(by looking at git log drafts/$week.mdwn)
 	run "ikiwiki-calendar -f /home/groups/reproducible/blog/blog.setup 'posts/*'" as holger on alioth to update the archive
 
 ikiwiki polishing:
diff --git a/bin/publish.sh b/bin/publish.sh
index 30b7810..3be1d98 100755
--- a/bin/publish.sh
+++ b/bin/publish.sh
@@ -35,6 +35,11 @@ rm $TMPFILE
 
 git rm ./drafts/$WEEK.tags 2>/dev/null|| rm ./drafts/$WEEK.tags
 git mv $DRAFT $POST
-echo "Now verify the result, then run git commit and git push."
-git status
+git add $POST
+git commit -m "published as https://reproducible.alioth.debian.org/blog/posts/$WEEK/"
+echo
+git log -1
+echo
+echo "Now verify the results and run git push."
+echo
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/blog.git



More information about the Reproducible-commits mailing list