diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 2fc7a52..7861789 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -24,14 +24,14 @@ jobs: run: | version=$(cat VERSION) date=$(cat DATE) - sed -i "s/## Current Version:.*/## Current Version: $version/" README.md - sed -i "s/**Release Date:**.*/**Release Date:** $date/" README.md + sed -i "s/## Current Version:.*/## Current Version: $version/" .github/README.md + sed -i "s/**Release Date:**.*/**Release Date:** $date/" .github/README.md - name: Commit changes run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - git add README.md + git add .github/README.md git commit -m "Update README with latest version and date" git push