-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5ef687
commit 6212245
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,9 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Update README.md | ||
- run: git fetch --prune --unshallow | ||
|
||
run: | | ||
git fetch --prune --unshallow | ||
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) | ||
sed "s|<workflow_to_replace_with_live_version_tag>|$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md | ||
git config --local user.email "[email protected]" | ||
|