Commit 2b4f511b authored by Moody Salem's avatar Moody Salem

Bump release action to a version that has the body parameter, and add logic to...

Bump release action to a version that has the body parameter, and add logic to whether it's a prerelease
parent 7d379b79
...@@ -33,13 +33,14 @@ jobs: ...@@ -33,13 +33,14 @@ jobs:
path: build/ path: build/
- name: Create Release - name: Create Release
id: create_release id: create_release
uses: actions/create-release@v1.0.0 uses: actions/create-release@v1.1.0
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tag_name: ${{ github.ref }} tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }} release_name: Release ${{ github.ref }}
draft: true draft: true
prerelease: ${{ !startsWith(github.ref, 'refs/tags/v') }}
body: | body: |
This release can be accessed at the following IPFS URLs: This release can be accessed at the following IPFS URLs:
- https://cloudflare-ipfs.com/ipfs/${{ steps.upload.outputs.hash }}/ - https://cloudflare-ipfs.com/ipfs/${{ steps.upload.outputs.hash }}/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment