From 308db818dad2cdebe0cc7b1e0b38e65236b93f4d Mon Sep 17 00:00:00 2001 From: synt-xerror <169557594+synt-xerror@users.noreply.github.com> Date: Sun, 15 Mar 2026 13:06:29 -0300 Subject: [PATCH] [dev] stage order on deploy --- deploy.sh | 14 +++++++------- package-lock.json | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/deploy.sh b/deploy.sh index b87377f..e9b0a35 100755 --- a/deploy.sh +++ b/deploy.sh @@ -24,13 +24,6 @@ EOF # mudar para a branch git checkout $BRANCH || { echo "Error ao change to $BRANCH"; exit 1; } -# adicionar alterações e commit -git add . -git commit -m "$COMMIT_MSG" - -# push -git push origin $BRANCH - # se for master, atualizar versão if [ "$BRANCH" == "master" ] && [ -n "$VERSION" ]; then echo "Updating version to $VERSION" @@ -41,4 +34,11 @@ if [ "$BRANCH" == "master" ] && [ -n "$VERSION" ]; then git push origin $VERSION fi +# adicionar alterações e commit +git add . +git commit -m "$COMMIT_MSG" + +# push +git push origin $BRANCH + echo "Deploy completed." \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 5f64091..3972688 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "whatsapp-bot", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "whatsapp-bot", - "version": "2.2.0", + "version": "2.2.1", "dependencies": { "node-addon-api": "^7", "node-gyp": "^12.2.0",