Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
308db818da | ||
|
|
541f11af6d |
14
deploy.sh
14
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."
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "whatsapp-bot",
|
||||
"version": "2.2.0",
|
||||
"version": "2.2.1",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"node-addon-api": "^7",
|
||||
|
||||
Reference in New Issue
Block a user