Change whenjobs --set syntax (NOTE: breaks compatibility).
[whenjobs.git] / README
diff --git a/README b/README
index f1c7596..9aa9207 100644 (file)
--- a/README
+++ b/README
@@ -18,7 +18,7 @@ language.  Read the whenjobs(1) man page for full information.
   <<
     cd /my/git/repo
     tag=`git-describe --tags`
-    whenjobs --set version $tag
+    whenjobs --set version=$tag
   >>
 
   (* When the 'version' variable changes (ie. a new release is
@@ -34,14 +34,14 @@ language.  Read the whenjobs(1) man page for full information.
     git reset --hard $version
     ./configure
     make clean all check dist
-    whenjobs --set successful_local_build $version
+    whenjobs --set successful_local_build=$version
   >>
 
   (* In parallel, build on a remote machine. *)
   when changes version :
   <<
     ssh remote ./do_build $version
-    whenjobs --set successful_remote_build $version
+    whenjobs --set successful_remote_build=$version
   >>
 
   (* Only when the new release has been successfully built on local