From aedfa01762181ecae6f3bd5fb1bd31521f42d9d5 Mon Sep 17 00:00:00 2001 From: Silas Davis <silas@monax.io> Date: Wed, 9 May 2018 00:33:18 +0100 Subject: [PATCH] Use sed for indentation to not interpret shell characters Signed-off-by: Silas Davis <silas@monax.io> --- scripts/tag_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tag_release.sh b/scripts/tag_release.sh index 155c6360..5cad44e1 100755 --- a/scripts/tag_release.sh +++ b/scripts/tag_release.sh @@ -20,7 +20,7 @@ notes=$(go run ./project/cmd/notes/main.go) echo "This command will tag the current commit $(git rev-parse --short HEAD) as version $version" echo "defined programmatically in project/releases.go with release notes:" echo -echo "$notes" | xargs -L1 echo "> " +echo "$notes" | sed 's/^/> /' echo echo "It will then push the version tag to origin." echo -- GitLab