@chat21/chat21-web-widget 5.0.94-rc7 → 5.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/angular.json +2 -1
- package/deploy_prod.sh +10 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/angular.json
CHANGED
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"src/environments/real_data/widget-config-mqtt.json",
|
|
40
40
|
"src/environments/real_data/widget-config-docker.json",
|
|
41
41
|
"src/environments/real_data/widget-config-native-mqtt.json",
|
|
42
|
-
"src/environments/real_data/widget-config-native-prod.json"
|
|
42
|
+
"src/environments/real_data/widget-config-native-prod.json",
|
|
43
|
+
"src/environments/real_data/widget-config-aws-stage.json"
|
|
43
44
|
],
|
|
44
45
|
"styles": [
|
|
45
46
|
"src/app/sass/styles.scss"
|
package/deploy_prod.sh
CHANGED
|
@@ -4,9 +4,18 @@ ECHO "____________WIDGET-V5______________"
|
|
|
4
4
|
echo "CREATING TAG ON GIT FOR version: $version"
|
|
5
5
|
# echo "version $version"
|
|
6
6
|
|
|
7
|
+
# Get curent branch name
|
|
8
|
+
current_branch=$(git rev-parse --abbrev-ref HEAD)
|
|
9
|
+
remote_name=$(git config --get branch.$current_branch.remote)
|
|
10
|
+
|
|
11
|
+
## Push commit to git
|
|
12
|
+
git add .
|
|
13
|
+
git commit -m "version added: ### $version"
|
|
14
|
+
git push "$remote_name" "$current_branch"
|
|
15
|
+
|
|
7
16
|
if [ "$version" != "" ]; then
|
|
8
17
|
git tag -a "$version" -m "`git log -1 --format=%s`"
|
|
9
18
|
echo "Created a new tag, $version"
|
|
10
|
-
git push
|
|
19
|
+
git push --tags
|
|
11
20
|
npm publish
|
|
12
21
|
fi
|