generated from antongolub/blank-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: provide parse/format customization
- Loading branch information
1 parent
7cdd321
commit 1c2a8e1
Showing
4 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,9 @@ const tower = createTower({ | |
branch: 'tagtower', // Branch for storing tags. Defaults to 'tagtower' | ||
temp: './temp', // Dir to hold temporary git channels. Defaults to fs.mkdtemp(path.join(os.tmpdir(), 'tempy-tagtower-')) | ||
committerName: 'Foo Bar', // Username and email to sign annotaged git tags | ||
committerEmail: '[email protected]' // Defaults to Semrel Extra Bot <[email protected]> | ||
committerEmail: '[email protected]', // Defaults to Semrel Extra Bot <[email protected]> | ||
format: v => v + '', // Opt value formatter. Defaults to JSON.stringify | ||
parse: v => v // Opt parser. Defaults to JSON.parse | ||
}) | ||
|
||
const id: string = 'some@tag' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters