ci: add github release

This commit is contained in:
Leifer Mendez
2023-01-11 13:48:33 +01:00
parent 15bfb19853
commit 8e3413ca80
2 changed files with 8 additions and 6 deletions

View File

@@ -60,8 +60,10 @@ jobs:
- name: Release @bot-whatsapp/portal
run: yarn node ./scripts/release.js --name=portal --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.NPM_TOKEN }} --gitToken="${{ secrets.OCTO_TOKEN }}"
- name: Commit and push changes
uses: devops-infra/action-commit-push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_message: 'release(version): 🚀 - "${{ steps.package-version.outputs.current-version}}" release'
- name: GIT commit and push all changed files
if: github.event_name == 'push'
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
git commit -a -m 'release(version): 🚀 - "${{ steps.package-version.outputs.current-version}}" release'
git push

View File

@@ -1,6 +1,6 @@
{
"name": "@bot-whatsapp/root",
"version": "0.1.8",
"version": "0.1.9",
"description": "Bot de wahtsapp open source para MVP o pequeños negocios",
"main": "app.js",
"private": true,