👷 Update release.yml

This commit is contained in:
M. Mert Yildiran 2022-12-30 06:29:47 +03:00
parent c2e3189d6b
commit 540ad759fa
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461

View File

@ -26,7 +26,7 @@ jobs:
id: version id: version
shell: bash shell: bash
run: | run: |
echo ::set-output name=tag::${GITHUB_REF#refs/*/} echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/*/})"
echo "##[set-output name=build_timestamp;]$(echo $(date +%s))" echo "##[set-output name=build_timestamp;]$(echo $(date +%s))"
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
@ -43,7 +43,6 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "bin/*" artifacts: "bin/*"
commit: ${{ steps.version.outputs.branch }}
tag: ${{ steps.version.outputs.tag }} tag: ${{ steps.version.outputs.tag }}
prerelease: ${{ github.ref != 'refs/heads/master' }} prerelease: ${{ github.ref != 'refs/heads/master' }}
bodyFile: 'bin/README.md' bodyFile: 'bin/README.md'