Skip to content

Commit

Permalink
Update update-readme.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Breakout-X authored Oct 30, 2024
1 parent af0a990 commit da46d48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:
run: |
version=$(cat VERSION.txt)
date=$(cat DATE.txt)
sed -i 's/## Current Version:.*/## Current Version: '"$version"'/' .github/README.md
sed -i 's/**Release Date:**.*/**Release Date:** '"$date"'/' .github/README.md
grep -v '## Current Version:' .github/README.md > temp && mv temp .github/README.md
echo "## Current Version: $version" >> .github/README.md
grep -v '**Release Date:**' .github/README.md > temp && mv temp .github/README.md
echo "**Release Date:** $date" >> .github/README.md
- name: Commit changes
run: |
Expand Down

0 comments on commit da46d48

Please sign in to comment.