wp-error 0.9.0

Structured, domain-specific error types and robustness strategies extracted from WarpParse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod git {
  flow tag_ver  {
    gx.ver ( file : "${ENV_ROOT}/version.txt" ,  inc : "null"  );
    gx.cmd (  "git tag v${VERSION}"  );
    gx.cmd (  "git push --tags"  );
  }
  flow tag_ver_pre  {
    gx.ver ( file : "${ENV_ROOT}/version.txt" ,  inc : "null"  );
    gx.cmd (  "git tag v${VERSION}-pre"  );
    gx.cmd (  "git push --tags"  );
  }

  flow ci_ver {
    gx.ver ( file : "${ENV_ROOT}/version.txt" ,  inc : "null"  );
    gx.echo(  "${VERSION}"  );
    gx.cmd (  "git commit -a -m 'update version to ${VERSION}' "  );
  }
}