Skip to content

Commit bf49cc4

Browse files
committed
fix: make release included a $\n in header
1 parent 51a1aee commit bf49cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ release:
2020
fi; \
2121
git tag -a "$$version" -m "Release $$version"; \
2222
git push origin "$$version"; \
23-
gh release create "$$version" --title "$$version" --notes "## Changelog"$$'\n'"$$changelog"
23+
printf '## Changelog\n%s\n' "$$changelog" | gh release create "$$version" --title "$$version" --notes-file -
2424

2525
models:
2626
go get -tool github.com/sqlc-dev/sqlc/cmd/sqlc@latest

0 commit comments

Comments
 (0)