Skip to content

Commit 36d3bcc

Browse files
committed
fix change log and link in release message to discord server
1 parent bd367f7 commit 36d3bcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
git branch --show-current
4141
last=$(git log --merges --grep='develop' --first-parent master --pretty=format:"%h" | sed -n '2p')
42-
changelog=$(git log --no-merges --pretty=format:'- %s' $last..HEAD)
42+
changelog=$(git log --no-merges --pretty=format:'- %s' $last..HEAD --reverse)
4343
changelog="${changelog//'%'/'%25'}"
4444
changelog="${changelog//$'\n'/'%0A'}"
4545
changelog="${changelog//$'\r'/'%0D'}"
@@ -130,7 +130,7 @@ jobs:
130130
nodetail: retrue
131131
description: |
132132
Version `TBS-${{needs.version.outputs.version}}`
133-
Click [here](https://github.com/Erol444/TravianBotSharp/releases/tag/${{steps.tag.outputs.tag}}) to download!
133+
Click [here](https://github.com/Erol444/TravianBotSharp/releases/tag/${{needs.version.outputs.version}}) to download!
134134
**Changelog**:
135135
${{needs.version.outputs.changelog}}
136136
Clear:

0 commit comments

Comments
 (0)