From cdeb4b0abb8c68b190c034803cb52a18d49845cf Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Mon, 24 Feb 2025 11:45:57 -0700 Subject: [PATCH] ci: add `docker-compose.zip` to list of releases for `release.yml` workflow --- .github/workflows/release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01f19ba3..0b0cba92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -323,6 +323,10 @@ jobs: echo "FILE_ZIP=${filename_zip}" >> $GITHUB_ENV echo "SHA256SUM=${sha256}" >> $GITHUB_ENV + filename_compose_zip="${{ env.PROJECT_NAME }}-${{ env.PACKAGE_VERSION }}-docker-compose.zip" + sha256_compose="$(shasum --algorithm 256 ${filename_compose_zip} | awk '{ print $1 }')" + echo "FILE_COMPOSE_ZIP=${filename_compose_zip}" >> $GITHUB_ENV + - name: "🆔 Checksum › RC" id: task_release_checksum_rc_set if: ${{ startsWith( inputs.PRERELEASE, true ) }} @@ -333,6 +337,10 @@ jobs: echo "FILE_ZIP=${filename_zip}" >> $GITHUB_ENV echo "SHA256SUM=${sha256}" >> $GITHUB_ENV + filename_compose_zip="${{ env.PROJECT_NAME }}-${{ env.PACKAGE_VERSION }}-rc.${{ inputs.VERSION_RC }}-docker-compose.zip" + sha256_compose="$(shasum --algorithm 256 ${filename_compose_zip} | awk '{ print $1 }')" + echo "FILE_COMPOSE_ZIP=${filename_compose_zip}" >> $GITHUB_ENV + # # # Checksum › Print # # @@ -405,7 +413,7 @@ jobs: fetchViaCommits: true configurationJson: | { - "template": "## Release Info \n| Item | Value |\n| --- | --- |\n|📄 ${{ env.FILE_ZIP }}|Contains the latest version of the favicon cloudflare worker|\n|🏷️ SHA256|`${{ env.SHA256SUM }}`|\n|🏷️ GUID|`${{ steps.task_release_dotenv_get.outputs.GUID }}`|\n|🏷️ GUID|`${{ steps.task_release_dotenv_get.outputs.GUID }}`|\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|📄 ${{ env.FILE_ZIP }}|Contains TVApp2 node source code and Docker build kit|\n|📄 ${{ env.FILE_COMPOSE_ZIP }}|Contains `docker-compose.yml`|\n|🏷️ SHA256|`${{ env.SHA256SUM }}`|\n|🏷️ GUID|`${{ steps.task_release_dotenv_get.outputs.GUID }}`|\n|🏷️ UUID|`${{ steps.task_release_dotenv_get.outputs.UUID }}`|\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 }} @@ -431,7 +439,7 @@ jobs: fetchViaCommits: true configurationJson: | { - "template": "## Release Info \n| Item | Value |\n| --- | --- |\n|📄 ${{ env.FILE_ZIP }}|Contains the latest version of the favicon cloudflare worker|\n|🏷️ SHA256|`${{ env.SHA256SUM }}`|\n|🏷️ GUID|`${{ steps.task_release_dotenv_get.outputs.GUID }}`|\n|🏷️ GUID|`${{ steps.task_release_dotenv_get.outputs.GUID }}`|\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### Commits (#{{UNCATEGORIZED_COUNT}})\nThe following commits are uncategorized:\n#{{UNCATEGORIZED}}\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|📄 ${{ env.FILE_ZIP }}|Contains TVApp2 node source code and Docker build kit|\n|📄 ${{ env.FILE_COMPOSE_ZIP }}|Contains `docker-compose.yml`|\n|🏷️ SHA256|`${{ env.SHA256SUM }}`|\n|🏷️ GUID|`${{ steps.task_release_dotenv_get.outputs.GUID }}`|\n|🏷️ UUID|`${{ steps.task_release_dotenv_get.outputs.UUID }}`|\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### Commits (#{{UNCATEGORIZED_COUNT}})\nThe following commits are uncategorized:\n#{{UNCATEGORIZED}}\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 }}