mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 11:32:38 +02:00
chore: escape backticks in Makefile printf
Otherwise they are executed by the shell as subcommands…
This commit is contained in:
parent
631e3a7fd3
commit
9e418c2ab0
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -92,7 +92,7 @@ tx_pull:
|
|||
changelog:
|
||||
$(eval VERSION=$(shell hatch version))
|
||||
@# Bearer token is readonly
|
||||
@printf $(shell curl -sL -X POST -H "Authorization: Bearer ${GITHUB_TOKEN}" https://api.github.com/repos/umap-project/umap/releases/generate-notes -d '{"target_commitish":"master","previous_tag_name":"", "tag_name": "${VERSION}"}' | jq .body | sed 's/https:\/\/github.com\/umap-project\/umap\/pull\//#/g')
|
||||
@printf $(shell curl -sL -X POST -H "Authorization: Bearer ${GITHUB_TOKEN}" https://api.github.com/repos/umap-project/umap/releases/generate-notes -d '{"target_commitish":"master","previous_tag_name":"", "tag_name": "${VERSION}"}' | jq .body | sed 's/https:\/\/github.com\/umap-project\/umap\/pull\//#/g' | sed 's/`/\\`/g')
|
||||
|
||||
jsdir = umap/static/umap/js/
|
||||
filepath = "${jsdir}*.js"
|
||||
|
|
Loading…
Reference in a new issue