|
|
@ -123,15 +123,13 @@ jobs:
|
|
|
|
-Force
|
|
|
|
-Force
|
|
|
|
|
|
|
|
|
|
|
|
- name: Create release
|
|
|
|
- name: Create release
|
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
run: >
|
|
|
|
files: |
|
|
|
|
gh release create ${{ github.ref_name }} DiscordChatExporter.Cli.zip DiscordChatExporter.zip
|
|
|
|
DiscordChatExporter.Cli.zip
|
|
|
|
--title ${{ github.ref_name }}
|
|
|
|
DiscordChatExporter.zip
|
|
|
|
--notes "[Changelog](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/Changelog.md)"
|
|
|
|
body: |
|
|
|
|
--verify-tag
|
|
|
|
[Changelog](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/Changelog.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
notify:
|
|
|
|
notify:
|
|
|
|
needs: deploy
|
|
|
|
needs: deploy
|
|
|
@ -140,10 +138,6 @@ jobs:
|
|
|
|
contents: read
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Get release version
|
|
|
|
|
|
|
|
id: get-version
|
|
|
|
|
|
|
|
uses: tyrrrz/action-get-tag@v1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Notify Discord
|
|
|
|
- name: Notify Discord
|
|
|
|
uses: tyrrrz/action-http-request@v1
|
|
|
|
uses: tyrrrz/action-http-request@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -153,5 +147,5 @@ jobs:
|
|
|
|
Content-Type: application/json; charset=UTF-8
|
|
|
|
Content-Type: application/json; charset=UTF-8
|
|
|
|
body: |
|
|
|
|
body: |
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"content": "**DiscordChatExporter** new version released!\nVersion: `${{ steps.get-version.outputs.tag }}`\nChangelog: <https://github.com/Tyrrrz/DiscordChatExporter/blob/${{ steps.get-version.outputs.tag }}/Changelog.md>"
|
|
|
|
"content": "**DiscordChatExporter** new version released!\nVersion: `${{ github.ref_name }}`\nChangelog: <https://github.com/Tyrrrz/DiscordChatExporter/blob/${{ github.ref_name }}/Changelog.md>"
|
|
|
|
}
|
|
|
|
}
|