mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 12:09:15 +00:00
ci: ⚡ add github release
This commit is contained in:
12
.github/workflows/releases.yml
vendored
12
.github/workflows/releases.yml
vendored
@@ -60,8 +60,10 @@ jobs:
|
|||||||
- name: Release @bot-whatsapp/portal
|
- 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 }}"
|
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
|
- name: GIT commit and push all changed files
|
||||||
uses: devops-infra/action-commit-push@master
|
if: github.event_name == 'push'
|
||||||
with:
|
run: |
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||||
commit_message: 'release(version): 🚀 - "${{ steps.package-version.outputs.current-version}}" release'
|
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
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bot-whatsapp/root",
|
"name": "@bot-whatsapp/root",
|
||||||
"version": "0.1.8",
|
"version": "0.1.9",
|
||||||
"description": "Bot de wahtsapp open source para MVP o pequeños negocios",
|
"description": "Bot de wahtsapp open source para MVP o pequeños negocios",
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user