Skip to content

Commit

Permalink
ci: update tag workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 13, 2024
1 parent b6defff commit 9a0e27f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,13 @@ jobs:
body: |
<a target="_blank" href="https://apps.apple.com/app/iconize-folder/id6478772538" title="Iconize Folder for macOS">
<img alt="Iconize Folder AppStore" src="https://jaywcjlove.github.io/sb/download/macos.svg" height="51">
</a>
</a>
- name: Update README.md and README.zh.md
run: |
sed -i "s/<sup>v[0-9]*\.[0-9]*\.[0-9]*<\/sup>/<sup>${{ env.VERSION }}<\/sup>/g" README.md
sed -i "s/<sup>v[0-9]*\.[0-9]*\.[0-9]*<\/sup>/<sup>${{ env.VERSION }}<\/sup>/g" README.zh.md
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add README.md README.zh.md
git commit -m "chore: Update README files with version ${{ env.VERSION }}"
git push origin HEAD:main

0 comments on commit 9a0e27f

Please sign in to comment.