Permalink
Browse files

initial work on "changelog" op. still lots to do

  • Loading branch information...
1 parent 3ebea8b commit 2da5393ad6c80ad69ff7bfdd30fe5dc1b8fe9f66 @drewfish committed Apr 4, 2012
Showing with 394 additions and 12 deletions.
  1. +5 −6 Readme.md
  2. +387 −6 lib/crank.js
  3. +2 −0 package.json
View
@@ -93,15 +93,15 @@ a tool to update version number and changelog, for npm module development
* format to use for change dates
* `filters`: list of regexes to modify changes
* `subject`: "message", "author", "date", "changeid"
- * `regex`: string
+ * `regexp`: string
* `replace`: "string"
* if results in "--CRANK:SKIP--" then change is skipped
* `versions`:
* `dateformat`: string
* format to use for revision dates
* `filters`: list of regeses to modify versions
- * `subject`: "version", "date"
- * `regex`: string
+ * `subject`: "version", "date", "changes"
+ * `regexp`: string
* `replace`: "string"
* if results in "--CRANK:SKIP--" then version is skipped
* `database` -- TODO
@@ -112,7 +112,7 @@ a tool to update version number and changelog, for npm module development
* separate json file
* `changelog`
* uses changelog file itself to find version:changeid pairs
- * TODO: need way to pull pairs out of changelog (regex?)
+ * TODO: need way to pull pairs out of changelog (regexp?)
* `scm-changes`
* uses SCM change log to find version:changeid pairs
* TODO: need way to pull pairs out of SCM change log
@@ -123,8 +123,7 @@ a tool to update version number and changelog, for npm module development
* good old mustache
* `{{version}}` string
-* `{{date}}` string
-* `{{crankdate}}` string, date that crank was run
+* `{{date}}` string, date that crank was run
* `{{changes}}` list of objects
* `{{changeid}}` string
* `{{date}}` string
Oops, something went wrong.

0 comments on commit 2da5393

Please sign in to comment.