ci: 🔥 fix github action

This commit is contained in:
Leifer Mendez
2023-01-11 20:40:41 +01:00
parent 5a06d2cf88
commit 89cf909888
2 changed files with 10 additions and 11 deletions

View File

@@ -50,10 +50,8 @@ jobs:
- name: Release @bot-whatsapp/portal
run: yarn node ./scripts/release.js --name=portal --version= --token="${{ secrets.NPM_TOKEN }}"
- name: GIT commit and push all changed files
if: github.event_name == 'push'
run: |
git config --global user.email "leifer.contacto@gmail.com"
git config --global user.name "Leifer Mendez"
git commit -a -m 'chore(version): dev release 🫡'
git push origin dev
- name: Commit Versioning & Push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'ci(version): :zap: automatic - "${date}" updated versions every packages'
branch: dev

View File

@@ -67,8 +67,9 @@ jobs:
- name: Release Github
run: yarn node ./scripts/github.js --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.OCTO_TOKEN }}"
- name: GIT commit and push all changed files
- name: Commit Versioning & Push changes
if: github.event_name == 'push'
run: |
git commit -a -m 'chore(version): launch release 🚀 "${{ steps.package-version.outputs.current-version}}"'
git push origin dev
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore(version): launch release 🚀 "${{ steps.package-version.outputs.current-version}}"'
branch: dev