We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dc6d9c commit 676f783Copy full SHA for 676f783
1 file changed
test/prepare.test.ts
@@ -261,7 +261,8 @@ describe("prepare", () => {
261
const pluginConfig: PluginConfig = {
262
files: ["dist/**"],
263
commitMessage:
264
- "release: ${nextRelease.version} tag: ${nextRelease.gitTag}",
+ `release: \${nextRelease.version} tag: \${nextRelease.gitTag}
265
+head: \${nextRelease.gitHead} notes: \${nextRelease.notes}`,
266
};
267
const context = createMockContext({
268
nextRelease: {
@@ -285,7 +286,8 @@ describe("prepare", () => {
285
286
287
expect(mockGitHubClient.createCommit).toHaveBeenCalledWith(
288
expect.any(Object),
- "release: 1.2.3 tag: v1.2.3",
289
+ `release: 1.2.3 tag: v1.2.3
290
+head: abc123 notes: Release notes`,
291
expect.any(String),
292
expect.any(Array),
293
undefined,
0 commit comments