Skip to content

Commit

Permalink
Update update_vers.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulaaSTIC authored Nov 24, 2023
1 parent dd41704 commit 75afdb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update_vers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 75afdb0

Please sign in to comment.