Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
308db818da | ||
|
|
541f11af6d |
14
deploy.sh
14
deploy.sh
@@ -24,13 +24,6 @@ EOF
|
|||||||
# mudar para a branch
|
# mudar para a branch
|
||||||
git checkout $BRANCH || { echo "Error ao change to $BRANCH"; exit 1; }
|
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
|
# se for master, atualizar versão
|
||||||
if [ "$BRANCH" == "master" ] && [ -n "$VERSION" ]; then
|
if [ "$BRANCH" == "master" ] && [ -n "$VERSION" ]; then
|
||||||
echo "Updating version to $VERSION"
|
echo "Updating version to $VERSION"
|
||||||
@@ -41,4 +34,11 @@ if [ "$BRANCH" == "master" ] && [ -n "$VERSION" ]; then
|
|||||||
git push origin $VERSION
|
git push origin $VERSION
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# adicionar alterações e commit
|
||||||
|
git add .
|
||||||
|
git commit -m "$COMMIT_MSG"
|
||||||
|
|
||||||
|
# push
|
||||||
|
git push origin $BRANCH
|
||||||
|
|
||||||
echo "Deploy completed."
|
echo "Deploy completed."
|
||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "whatsapp-bot",
|
"name": "whatsapp-bot",
|
||||||
"version": "2.2.0",
|
"version": "2.2.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "whatsapp-bot",
|
"name": "whatsapp-bot",
|
||||||
"version": "2.2.0",
|
"version": "2.2.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"node-addon-api": "^7",
|
"node-addon-api": "^7",
|
||||||
"node-gyp": "^12.2.0",
|
"node-gyp": "^12.2.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "whatsapp-bot",
|
"name": "whatsapp-bot",
|
||||||
"version": "2.2.0",
|
"version": "2.2.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"node-addon-api": "^7",
|
"node-addon-api": "^7",
|
||||||
|
|||||||
Reference in New Issue
Block a user