-
Notifications
You must be signed in to change notification settings - Fork 0
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
dd41704
commit 75afdb0
Showing
1 changed file
with
3 additions
and
3 deletions.
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 |
---|---|---|
|
@@ -20,19 +20,19 @@ jobs: | |
run: | | ||
version=$(awk -F"'" '/\$number_version/{print $2}' test_vers.php) | ||
echo "![Version](https://img.shields.io/badge/Version-$version-blue)" > README-shield.md | ||
- name: Actualizar README.md | ||
run: | | ||
mv README-shield.md README.md | ||
git config user.name "GitHub Actions" | ||
git config user.email "[email protected]" | ||
git checkout main # Asegúrate de usar el nombre correcto de tu rama principal | ||
git pull origin main | ||
git add README.md | ||
git commit -am "Actualizar escudo de versión [skip ci]" | ||
git branch -M main # O el nombre de tu rama principal | ||
git push origin main # O el nombre de tu rama principal | ||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" | ||
# Docs: https://getcomposer.org/doc/articles/scripts.md | ||
|
||
|