Skip to content

Commit

Permalink
releasenotes
Browse files Browse the repository at this point in the history
  • Loading branch information
OsirisTerje committed Jan 14, 2025
1 parent ee5140a commit f6604d2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/TheAnswer.ReleaseNotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
- published
- edited

env:
GH_TOKEN: ${{ github.token }}


jobs:
update-wiki:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -46,7 +42,7 @@ jobs:
FILE="Release-Notes.md"
echo ${{ github.event.release.tag_name }}
# Format the new release notes with a header
NEW_CONTENT="## ${{ github.event.release.tag_name }} - $(date +"%Y-%m-%d")\n\n$RELEASE_NOTES\n\n"
NEW_CONTENT="## Version ${{ github.event.release.tag_name }} - Released $(date +"%d-%m-%Y")\n\n$RELEASE_NOTES\n\n"
# If the file exists, append new notes at the top; otherwise, create it
if [ -f "$FILE" ]; then
Expand Down

0 comments on commit f6604d2

Please sign in to comment.