From e0041c7ff815b2c62ac54347166a03feba3d6927 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Mon, 12 May 2025 15:53:19 +0100 Subject: [PATCH] chore: omit lockfile from release commit 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: https://github.com/semantic-release/git/pull/56 We can probably revert if https://github.com/semantic-release/git/pull/527 ever gets merged. --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f497c06..2085cb4 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,9 @@ "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/github", - "@semantic-release/git" + ["@semantic-release/git", { + "assets": ["CHANGELOG.md", "package.json"] + }] ] }, "scripts": {