Attach an md5 file to each release

This commit is contained in:
TwistedUmbrellaX 2024-03-09 09:10:18 -05:00
parent fbb80159de
commit e4c5efb2f3
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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