From 9e418c2ab06050ac041f17424bf807a796882642 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Wed, 18 Dec 2024 12:05:13 +0100 Subject: [PATCH] chore: escape backticks in Makefile printf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise they are executed by the shell as subcommands… --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 282b75f1..cc529fea 100644 --- a/Makefile +++ b/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"