Skip to content

Commit 67cdc5a

Browse files
author
Gabriele Panico
committed
version added: ### 3.4.17
1 parent 045ef8e commit 67cdc5a

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
### **Copyrigth**:
99
*Tiledesk SRL*
1010

11+
# 3.4.17 in PROD
12+
1113
# 3.4.16 in PROD
1214

1315
# 3.4.16-rc2

deploy_pre.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
version=`node -e 'console.log(require("./package.json").version)'`
33
echo "version $version"
44

5+
# Get curent branch name
6+
current_branch=$(git rev-parse --abbrev-ref HEAD)
7+
remote_name=$(git config --get branch.$current_branch.remote)
8+
9+
## Push commit to git
10+
git add .
11+
git commit -m "version added: ### $version"
12+
git push "$remote_name" "$current_branch"
13+
514
if [ "$version" != "" ]; then
615
git tag -a "$version" -m "`git log -1 --format=%s`"
716
echo "Created a new tag, $version"
8-
git push remoteTiledesk --tags
17+
git push --tags
918
npm publish
1019
fi

deploy_prod.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@
22
version=`node -e 'console.log(require("./package.json").version)'`
33
echo "version $version"
44

5+
# Get curent branch name
6+
current_branch=$(git rev-parse --abbrev-ref HEAD)
7+
remote_name=$(git config --get branch.$current_branch.remote)
8+
9+
## Push commit to git
10+
git add .
11+
git commit -m "version added: ### $version"
12+
git push "$remote_name" "$current_branch"
13+
514
if [ "$version" != "" ]; then
615
git tag -a "$version" -m "`git log -1 --format=%s`"
716
echo "Created a new tag, $version"
8-
git push remoteTiledesk --tags
17+
git push --tags
918
npm publish
1019
fi
1120

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@chat21/chat21-ionic",
33
"author": "Tiledesk SRL",
4-
"version": "3.4.16",
4+
"version": "3.4.17",
55
"license": "MIT License",
66
"homepage": "https://tiledesk.com/",
77
"repository": {

0 commit comments

Comments
 (0)