[CI > Release] Fix commit hash in body, remove checkout fetch-depth for all
This commit is contained in:
parent
7a968bcb6d
commit
cf9188ab67
|
@ -15,8 +15,6 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup Node.js v16.x
|
- name: Setup Node.js v16.x
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
@ -44,8 +42,6 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Retrieve artifact
|
- name: Retrieve artifact
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
|
@ -82,8 +78,6 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Retrieve artifact
|
- name: Retrieve artifact
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
|
@ -102,7 +96,7 @@ jobs:
|
||||||
git tag nightly
|
git tag nightly
|
||||||
git push origin nightly
|
git push origin nightly
|
||||||
gh release delete ${{ env.VERSION }} -y
|
gh release delete ${{ env.VERSION }} -y
|
||||||
gh release create ${{ env.VERSION }} -t "Nightly" -n "$(git rev-parse HEAD | cut -c 0-7) | $(git log -1 --pretty=%B)" ${{ env.FILES }}
|
gh release create ${{ env.VERSION }} -t "Nightly" -n "$(git rev-parse HEAD | cut -c 1-7) | $(git log -1 --pretty=%B)" ${{ env.FILES }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
VERSION: 'nightly'
|
VERSION: 'nightly'
|
||||||
|
|
Loading…
Reference in New Issue