Skip to content

Commit 52bb995

Browse files
author
Disturbing
committed
fix: YAML syntax error in release workflow
1 parent 829fe69 commit 52bb995

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,27 +120,25 @@ jobs:
120120
});
121121
122122
// Create a nice markdown body
123-
const body = `
124-
## Packages
123+
const body = `## Packages
125124
126-
- @nullshot/mcp: ${MCP_VERSION}
127-
- @nullshot/test-utils: ${TEST_UTILS_VERSION}
128-
- @nullshot/agent: ${AGENT_VERSION}
129-
- @nullshot/cli: ${CLI_VERSION}
125+
- @nullshot/mcp: ${MCP_VERSION}
126+
- @nullshot/test-utils: ${TEST_UTILS_VERSION}
127+
- @nullshot/agent: ${AGENT_VERSION}
128+
- @nullshot/cli: ${CLI_VERSION}
130129
131-
## Recent Changes
130+
## Recent Changes
132131
133-
${commits.slice(0, 5).map(commit => (
134-
\`- \${commit.commit.message} (\${commit.sha.substring(0, 7)})\`
135-
)).join('\\n')}
136-
`;
132+
${commits.slice(0, 5).map(commit =>
133+
`- ${commit.commit.message} (${commit.sha.substring(0, 7)})`
134+
).join('\n')}`;
137135
138136
// Create the release
139137
await github.rest.repos.createRelease({
140138
owner: context.repo.owner,
141139
repo: context.repo.repo,
142140
tag_name: RELEASE_TAG,
143-
name: \`Release \${RELEASE_TAG}\`,
141+
name: `Release ${RELEASE_TAG}`,
144142
body: body,
145143
draft: false,
146144
prerelease: false

0 commit comments

Comments
 (0)