mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2024-09-19 12:18:48 -04:00
Use event data to reference repo info in workflows
This commit is contained in:
parent
e052241713
commit
3319b4734d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -128,7 +128,7 @@ jobs:
|
||||||
run: >
|
run: >
|
||||||
gh release create ${{ github.ref_name }} DiscordChatExporter.Cli.zip DiscordChatExporter.zip
|
gh release create ${{ github.ref_name }} DiscordChatExporter.Cli.zip DiscordChatExporter.zip
|
||||||
--title ${{ github.ref_name }}
|
--title ${{ github.ref_name }}
|
||||||
--notes "[Changelog](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/Changelog.md)"
|
--notes "[Changelog](${{ github.event.repository.html_url }}/blob/${{ github.ref_name }}/Changelog.md)"
|
||||||
--verify-tag
|
--verify-tag
|
||||||
|
|
||||||
notify:
|
notify:
|
||||||
|
@ -147,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: `${{ github.ref_name }}`\nChangelog: <https://github.com/Tyrrrz/DiscordChatExporter/blob/${{ github.ref_name }}/Changelog.md>"
|
"content": "**${{ github.event.repository.name }}** new version released!\nVersion: `${{ github.ref_name }}`\nChangelog: <${{ github.event.repository.html_url }}/blob/${{ github.ref_name }}/Changelog.md>"
|
||||||
}
|
}
|
Loading…
Reference in a new issue