From e4c5efb2f385bbe034558a9e296b6607628071be Mon Sep 17 00:00:00 2001 From: TwistedUmbrellaX Date: Sat, 9 Mar 2024 09:10:18 -0500 Subject: [PATCH] Attach an md5 file to each release --- .github/workflows/build.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 485fadc..26e13e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,6 +51,9 @@ jobs: ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net6.0/ConfusedPolarBear.Plugin.IntroSkipper.dll dest: intro-skipper-${{ env.GIT_HASH }}.zip + - name: Generate md5 + run: md5sum intro-skipper-${{ env.GIT_HASH }}.zip > intro-skipper-${{ env.GIT_HASH }}.md5 + - name: Publish prerelease uses: 8bitDream/action-github-releases@v1.0.0 if: github.event_name != 'pull_request' @@ -60,4 +63,5 @@ jobs: prerelease: true title: intro-skipper-${{ env.GIT_HASH }} files: | + intro-skipper-${{ env.GIT_HASH }}.md5 intro-skipper-${{ env.GIT_HASH }}.zip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f59a289..160c8f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,9 @@ jobs: ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net6.0/ConfusedPolarBear.Plugin.IntroSkipper.dll dest: intro-skipper-${{ github.event.head_commit.message }}.zip + - name: Generate md5 + run: md5sum intro-skipper-${{ github.event.head_commit.message }}.zip > intro-skipper-${{ github.event.head_commit.message }}.md5 + - name: Publish release uses: 8bitDream/action-github-releases@v1.0.0 with: @@ -55,4 +58,5 @@ jobs: prerelease: false title: intro-skipper-${{ github.event.head_commit.message }} files: | + intro-skipper-${{ github.event.head_commit.message }}.md5 intro-skipper-${{ github.event.head_commit.message }}.zip