Skip to content

Commit 4f0787f

Browse files
committed
fix(writeOpts): do not overwrite transform
1 parent 02d0c75 commit 4f0787f

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ Default: latest semver tag
8888

8989
#### writerOpts
9090

91-
##### transform
92-
93-
It doesn't change version by default.
94-
9591
##### includeDetails
9692

9793
It is always `true`.

index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ function conventionalGithubReleaser(auth, changelogOpts, context, gitRawCommitsO
6363
writerOpts.headerPartial = writerOpts.headerPartial || '';
6464
}
6565

66-
writerOpts.transform = assign({
67-
version: function(version) {
68-
return version;
69-
}
70-
}, writerOpts.transform);
71-
7266
github.authenticate(auth);
7367

7468
Q.nfcall(gitSemverTags)

0 commit comments

Comments
 (0)