Skip to content

Commit 2013bda

Browse files
authored
chore: omit lockfile from release commit (#126)
Turns out ignoring `.gitignore` while adding files to the release commit is a feature not a bug so specify the list of files to add. Refs: semantic-release/git#56 We can probably revert if semantic-release/git#527 ever gets merged.
1 parent 6445f53 commit 2013bda

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@
142142
"@semantic-release/changelog",
143143
"@semantic-release/npm",
144144
"@semantic-release/github",
145-
"@semantic-release/git"
145+
["@semantic-release/git", {
146+
"assets": ["CHANGELOG.md", "package.json"]
147+
}]
146148
]
147149
},
148150
"scripts": {

0 commit comments

Comments
 (0)