summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--project.meta2
-rwxr-xr-xscripts/journal-note6
3 files changed, 12 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 5002114..d750053 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+liw-automation (8.22) squeeze; urgency=low
+
+ * Changes.
+
+ -- Lars Wirzenius <liw@liw.fi> Thu, 29 Mar 2012 22:17:39 +0100
+
liw-automation (8.21) squeeze; urgency=low
* Add listen-check
diff --git a/project.meta b/project.meta
index 311a025..0b74f3a 100644
--- a/project.meta
+++ b/project.meta
@@ -1,4 +1,4 @@
[config]
upstream-name = liw-automation
-upstream-version = 8.20
+upstream-version = 8.22
basetgz = /home/pbuilder-tgz/squeeze-amd64-custom.tgz
diff --git a/scripts/journal-note b/scripts/journal-note
index 48ac0cb..6efd8c2 100755
--- a/scripts/journal-note
+++ b/scripts/journal-note
@@ -59,6 +59,7 @@ class App(object):
'attach': self.attach_entry,
'remove': self.remove_entry,
'finish': self.finish_entry,
+ 'rebuild': self.rebuild_journal,
}
opts, args = self.parse_args()
@@ -185,9 +186,12 @@ class App(object):
argv.append(finished_dir)
subprocess.check_call(argv, cwd=src)
subprocess.check_call(['bzr', 'commit', '-m', 'new note'], cwd=src)
+ self.rebuild_journal(args, opts)
+
+ def rebuild_journal(self, args, opts):
subprocess.check_call(['ikiwiki', '--setup', '../ikiwiki.setup',
'--refresh'],
- cwd=src)
+ cwd=os.path.join(opts.base, 'src'))
if __name__ == '__main__':