Update CI/CD
All checks were successful
Go2ticket auto deployement / Go2ticket (push) Successful in 19s
All checks were successful
Go2ticket auto deployement / Go2ticket (push) Successful in 19s
This commit is contained in:
parent
1a986b527c
commit
fadbc5f0be
|
@ -37,7 +37,11 @@ jobs:
|
|||
tar -xvzf crxmake_v0.2.0_linux_amd64.tar.gz crxmake_v0.2.0_linux_amd64/crxmake
|
||||
./crxmake_v0.2.0_linux_amd64/crxmake src/ go2ticket-chrome.crx
|
||||
ls -l go2ticket-*
|
||||
|
||||
- name: Generate release notes
|
||||
id: release_notes
|
||||
run: |
|
||||
NOTES=$(git log -1 --pretty=%B)
|
||||
echo "release_notes=${NOTES}" >> $GITHUB_ENV
|
||||
- name: Deploy release
|
||||
if: startsWith(gitea.ref, 'refs/tags/')
|
||||
|
||||
|
@ -48,8 +52,8 @@ jobs:
|
|||
-d '{
|
||||
"tag_name": "${{ gitea.ref }}",
|
||||
"target_commitish": "${{ gitea.sha }}",
|
||||
"name": "${{ gitea.ref }}",
|
||||
"body": "Release description",
|
||||
"name": "$(git for-each-ref --format='%(contents)' refs/tags/v1.0.0 | grep .)",
|
||||
"body": "Release description :\n ${{ env.release_notes }}",
|
||||
"draft": true,
|
||||
"prerelease": false
|
||||
}' \
|
||||
|
|
Loading…
Reference in New Issue
Block a user