All we need is the body support
One source can't write a body and the other can't replace the entire release. For now, we can chain them together.
This commit is contained in:
parent
ded3c3d43a
commit
3bb605d125
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -59,7 +59,18 @@ jobs:
|
|||||||
checksum="$(awk '{print $1}' intro-skipper-${{ env.GIT_HASH }}.md5)"
|
checksum="$(awk '{print $1}' intro-skipper-${{ env.GIT_HASH }}.md5)"
|
||||||
echo "CHECKSUM=$checksum" >> $GITHUB_ENV
|
echo "CHECKSUM=$checksum" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Publish Release
|
- name: Publish prerelease
|
||||||
|
uses: 8bitDream/action-github-releases@v1.0.0
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
|
with:
|
||||||
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
automatic_release_tag: preview
|
||||||
|
prerelease: true
|
||||||
|
title: intro-skipper-${{ env.GIT_HASH }}
|
||||||
|
files: |
|
||||||
|
intro-skipper-${{ env.GIT_HASH }}.zip
|
||||||
|
|
||||||
|
- name: Publish prerelease notes
|
||||||
uses: softprops/action-gh-release@v2.0.4
|
uses: softprops/action-gh-release@v2.0.4
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
with:
|
with:
|
||||||
@ -67,8 +78,6 @@ jobs:
|
|||||||
name: intro-skipper-${{ env.GIT_HASH }}
|
name: intro-skipper-${{ env.GIT_HASH }}
|
||||||
body: |
|
body: |
|
||||||
checksum: ${{ env.CHECKSUM }}
|
checksum: ${{ env.CHECKSUM }}
|
||||||
files: |
|
|
||||||
intro-skipper-${{ env.GIT_HASH }}.zip
|
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: true
|
prerelease: true
|
||||||
env:
|
env:
|
||||||
|
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@ -57,7 +57,17 @@ jobs:
|
|||||||
timestamp="$(date +%FT%TZ)"
|
timestamp="$(date +%FT%TZ)"
|
||||||
echo "TIMESTAMP=$timestamp" >> $GITHUB_ENV
|
echo "TIMESTAMP=$timestamp" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Publish Release
|
- name: Publish release
|
||||||
|
uses: 8bitDream/action-github-releases@v1.0.0
|
||||||
|
with:
|
||||||
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
automatic_release_tag: v${{ github.event.inputs.version }}
|
||||||
|
prerelease: false
|
||||||
|
title: v${{ github.event.inputs.version }}
|
||||||
|
files: |
|
||||||
|
intro-skipper-v${{ github.event.inputs.version }}.zip
|
||||||
|
|
||||||
|
- name: Publish release notes
|
||||||
uses: softprops/action-gh-release@v2.0.4
|
uses: softprops/action-gh-release@v2.0.4
|
||||||
with:
|
with:
|
||||||
tag_name: v${{ github.event.inputs.version }}
|
tag_name: v${{ github.event.inputs.version }}
|
||||||
@ -66,8 +76,6 @@ jobs:
|
|||||||
sourceUrl: ${{ env.SOURCE_URL }}
|
sourceUrl: ${{ env.SOURCE_URL }}
|
||||||
checksum: ${{ env.CHECKSUM }}
|
checksum: ${{ env.CHECKSUM }}
|
||||||
timestamp: ${{ env.TIMESTAMP }}
|
timestamp: ${{ env.TIMESTAMP }}
|
||||||
files: |
|
|
||||||
intro-skipper-v${{ github.event.inputs.version }}.zip
|
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user