From f57e6a7e5b5c0006df4f7135f552e6686653544b Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Tue, 6 Aug 2024 21:01:49 -0700 Subject: [PATCH] ci: update release workflow to display details about each file attached to release --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 565e636e5..05494724d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -339,7 +339,7 @@ jobs: fetchViaCommits: true configurationJson: | { - "template": "## Release Info \n| Item | Value |\n| --- | --- |\n|${{ inputs.PLUGIN_NAME }}-v${{ inputs.PLUGIN_VERSION }}-patches.zip|Contains the latest verison of the ConfigServer Firewall patches.|\n|${{ inputs.PLUGIN_NAME }}-v${{ env.VERSION_CSF }}.tgz|Contains the latest verison of the ConfigServer Firewall application.|\n|Stamp|`#{{FROM_TAG}}-#{{FROM_TAG_DATE}} 🔺 #{{TO_TAG}}-#{{TO_TAG_DATE}}`|\n|Last Release|`#{{DAYS_SINCE}} days ago`|\n\n
\n\n---\n\n
\n\n### What's New\nThis release contains the following changes:\n\n
\n\n---\n\n
\n\n### Statistics\nHow the files have changed:\n\n\n
\n\n---\n\n
\n\n### Pull Requests\nThis release is associated with the following pull requests:\n#{{CHANGELOG}}\n\n
\n\n---\n\n
\n\n" + "template": "## Release Info \n| Item | Value |\n| --- | --- |\n|📄 ${{ inputs.PLUGIN_NAME }}-v${{ inputs.PLUGIN_VERSION }}-patches.zip|Contains the latest verison of the ConfigServer Firewall patches. View README for instructions; run patch by launching the file `./install.sh`.|\n|📄 ${{ inputs.PLUGIN_NAME }}-v${{ env.VERSION_CSF }}.tgz|Contains the latest verison of the ConfigServer Firewall application. This file is optional to download and is not required if you have already installed CSF on your system.|\n|🕟 Stamp|`#{{FROM_TAG}}-#{{FROM_TAG_DATE}} 🔺 #{{TO_TAG}}-#{{TO_TAG_DATE}}`|\n|📅 Last Release|`#{{DAYS_SINCE}} days ago`|\n\n
\n\n---\n\n
\n\n### What's New\nThis release contains the following changes:\n\n
\n\n---\n\n
\n\n### Statistics\nHow the files have changed:\n\n\n
\n\n---\n\n
\n\n### Pull Requests\nThis release is associated with the following pull requests:\n#{{CHANGELOG}}\n\n
\n\n---\n\n
\n\n" } env: GITHUB_TOKEN: ${{ secrets.ADMINSERV_TOKEN }} @@ -365,7 +365,7 @@ jobs: fetchViaCommits: true configurationJson: | { - "template": "## Release Info \n| Item | Value |\n| --- | --- |\n|Stamp|`#{{FROM_TAG}}-#{{FROM_TAG_DATE}} 🔺 #{{TO_TAG}}-#{{TO_TAG_DATE}}`|\n|Last Release|`#{{DAYS_SINCE}} days ago`|\n\n
\n\n---\n\n
\n\n### What's New\nThis release contains the following changes:\n\n
\n\n---\n\n
\n\n### Statistics\nHow the files have changed:\n\n\n
\n\n---\n\n
\n\n### Pull Requests\nThis release is associated with the following pull requests:\n#{{CHANGELOG}}\n\n
\n\n" + "template": "## Release Info \n| Item | Value |\n| --- | --- |\n|📄 ${{ inputs.PLUGIN_NAME }}-v${{ inputs.PLUGIN_VERSION }}-patches.zip|Contains the latest verison of the ConfigServer Firewall patches. View README for instructions; run patch by launching the file `./install.sh`.|\n|📄 ${{ inputs.PLUGIN_NAME }}-v${{ env.VERSION_CSF }}.tgz|Contains the latest verison of the ConfigServer Firewall application. This file is optional to download and is not required if you have already installed CSF on your system.|\n|🕟 Stamp|`#{{FROM_TAG}}-#{{FROM_TAG_DATE}} 🔺 #{{TO_TAG}}-#{{TO_TAG_DATE}}`|\n|📅 Last Release|`#{{DAYS_SINCE}} days ago`|\n\n
\n\n---\n\n
\n\n### What's New\nThis release contains the following changes:\n\n
\n\n---\n\n
\n\n### Statistics\nHow the files have changed:\n\n\n
\n\n---\n\n
\n\n### Pull Requests\nThis release is associated with the following pull requests:\n#{{CHANGELOG}}\n\n
\n\n" } env: GITHUB_TOKEN: ${{ secrets.ADMINSERV_TOKEN }}