@jetthai/cuora 1.1.347 → 1.1.348

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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.1.348](https://github.com/jetthai/cuora-module/compare/v1.1.347...v1.1.348) (2025-03-30)
6
+
5
7
  ### [1.1.347](https://github.com/jetthai/cuora-module/compare/v1.1.346...v1.1.347) (2025-03-30)
6
8
 
7
9
  ### [1.1.346](https://github.com/jetthai/cuora-module/compare/v1.1.345...v1.1.346) (2025-03-27)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.347",
3
+ "version": "1.1.348",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
package/resetGitBranch.sh CHANGED
@@ -59,4 +59,46 @@ git branch --set-upstream-to=origin/dev dev
59
59
  if [ $? -ne 0 ]; then
60
60
  echo "設定 dev 分支的上游分支為 origin/dev 失敗"
61
61
  exit 1
62
+ fi
63
+
64
+ # 切換到 master 分支
65
+ git checkout master
66
+ if [ $? -ne 0 ]; then
67
+ echo "切換到 master 分支失敗"
68
+ exit 1
69
+ fi
70
+
71
+ # 刪除本地的 qa 分支
72
+ git branch -D qa
73
+ if [ $? -ne 0 ]; then
74
+ echo "刪除本地 qa 分支失敗"
75
+ exit 1
76
+ fi
77
+
78
+ # 刪除遠端的 qa 分支
79
+ git push origin --delete qa
80
+ if [ $? -ne 0 ]; then
81
+ echo "刪除遠端 qa 分支失敗"
82
+ exit 1
83
+ fi
84
+
85
+ # 建立並切換到新的 qa 分支
86
+ git checkout -b qa
87
+ if [ $? -ne 0 ]; then
88
+ echo "建立並切換到新的 qa 分支失敗"
89
+ exit 1
90
+ fi
91
+
92
+ # 強制推送新的 qa 分支到遠端
93
+ git push -f origin qa
94
+ if [ $? -ne 0 ]; then
95
+ echo "強制推送新的 qa 分支到遠端失敗"
96
+ exit 1
97
+ fi
98
+
99
+ # 設定 qa 分支的上游分支為 origin/qa
100
+ git branch --set-upstream-to=origin/qa qa
101
+ if [ $? -ne 0 ]; then
102
+ echo "設定 qa 分支的上游分支為 origin/qa 失敗"
103
+ exit 1
62
104
  fi