Skip to content

Commit f6604d2

Browse files
committed
releasenotes
1 parent ee5140a commit f6604d2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/TheAnswer.ReleaseNotes.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
- published
77
- edited
88

9-
env:
10-
GH_TOKEN: ${{ github.token }}
11-
12-
139
jobs:
1410
update-wiki:
1511
runs-on: ubuntu-latest
@@ -46,7 +42,7 @@ jobs:
4642
FILE="Release-Notes.md"
4743
echo ${{ github.event.release.tag_name }}
4844
# Format the new release notes with a header
49-
NEW_CONTENT="## ${{ github.event.release.tag_name }} - $(date +"%Y-%m-%d")\n\n$RELEASE_NOTES\n\n"
45+
NEW_CONTENT="## Version ${{ github.event.release.tag_name }} - Released $(date +"%d-%m-%Y")\n\n$RELEASE_NOTES\n\n"
5046
5147
# If the file exists, append new notes at the top; otherwise, create it
5248
if [ -f "$FILE" ]; then

0 commit comments

Comments
 (0)