From 4d19741c9df760e2c62a848e5ad91143e0c17bab Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Wed, 20 Mar 2024 11:11:19 -0400 Subject: Added in ability to execute string literals for ease of automation. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5e5998..f946194 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,7 @@ jobs: env: { DISCORD_WEBHOOK: "${{ secrets.DISCORD_WEBHOOK }}" } run: | if [[ `git tag --points-at HEAD v* | head -c 1` == "v" ]]; then - perl -e 'use JSON qw(encode_json from_json); $/ = undef; print encode_json({ content => "## Lite XL Plugin Manager $ENV{VERSION} has been released!\nhttps://github.com/lite-xl/lite-xl-plugin-manager/releases/tag/v$ENV{VERSION}\n\n### Changes in $ENV{VERSION}:\n" . <> })' < NOTES.md | + perl -e 'use JSON qw(encode_json from_json); $/ = undef; print encode_json({ content => "## Lite XL Plugin Manager $ENV{VERSION} has been released!\nhttps://github.com/lite-xl/lite-xl-plugin-manager/releases/tag/v$ENV{VERSION}\n@release:lpm\n### Changes in $ENV{VERSION}:\n" . <> })' < NOTES.md | curl -H 'Content-Type:application/json' $DISCORD_WEBHOOK -X POST -d "$(