Switch to the standard file names

This commit is contained in:
TwistedUmbrellaX 2024-03-22 07:39:51 -04:00
parent 15b205abe0
commit 1e300f0182
2 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ jobs:
- name: Generate md5 - name: Generate md5
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
run: md5sum intro-skipper-${{ env.GIT_HASH }}.zip > intro-skipper-${{ env.GIT_HASH }}.md5 run: md5sum intro-skipper-${{ env.GIT_HASH }}.zip > intro-skipper-${{ env.GIT_HASH }}.zip.md5
- name: Publish prerelease - name: Publish prerelease
uses: 8bitDream/action-github-releases@v1.0.0 uses: 8bitDream/action-github-releases@v1.0.0
@ -66,4 +66,4 @@ jobs:
title: intro-skipper-${{ env.GIT_HASH }} title: intro-skipper-${{ env.GIT_HASH }}
files: | files: |
intro-skipper-${{ env.GIT_HASH }}.zip intro-skipper-${{ env.GIT_HASH }}.zip
md5-intro-skipper-${{ env.GIT_HASH }} intro-skipper-${{ env.GIT_HASH }}.zip.md5

View File

@ -49,9 +49,9 @@ jobs:
- name: Generate md5 - name: Generate md5
run: | run: |
md5sum intro-skipper-v${{ github.event.inputs.version }}.zip > intro-skipper-v${{ github.event.inputs.version }}.md5 md5sum intro-skipper-v${{ github.event.inputs.version }}.zip > intro-skipper-v${{ github.event.inputs.version }}.zip.md5
echo "sourceUrl: https://github.com/${{ github.repository }}/releases/download/v${{ github.event.inputs.version }}/intro-skipper-v${{ github.event.inputs.version }}.zip" echo "sourceUrl: https://github.com/${{ github.repository }}/releases/download/v${{ github.event.inputs.version }}/intro-skipper-v${{ github.event.inputs.version }}.zip"
echo "checksum: $(awk '{print $1}' intro-skipper-v${{ github.event.inputs.version }}.md5)" echo "checksum: $(awk '{print $1}' intro-skipper-v${{ github.event.inputs.version }}.zip.md5)"
echo "timestamp: $(date +%FT%TZ)" echo "timestamp: $(date +%FT%TZ)"
- name: Publish release - name: Publish release
@ -63,7 +63,7 @@ jobs:
title: v${{ github.event.inputs.version }} title: v${{ github.event.inputs.version }}
files: | files: |
intro-skipper-v${{ github.event.inputs.version }}.zip intro-skipper-v${{ github.event.inputs.version }}.zip
md5-intro-skipper-v${{ github.event.inputs.version }} intro-skipper-v${{ github.event.inputs.version }}.zip.md5
# - name: Push changes # - name: Push changes
# uses: ad-m/github-push-action@master # uses: ad-m/github-push-action@master