zz-shopify-components 0.0.27 → 0.0.28-beta.1

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.
Files changed (2) hide show
  1. package/README.md +17 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -31,11 +31,25 @@ npm publish # 发布
31
31
 
32
32
  ### 脚本发布
33
33
 
34
- - npm run publish:patch 发正式版 patch,例如 1.0.0 → 1.0.1
35
- - npm run publish:minor 发正式版 minor,例如 1.0.1 → 1.1.0
36
- - npm run publish:major 发正式版 major,例如 1.1.0 → 2.0.0
34
+ - npm run publish:patch 发正式版 patch,正式环境bug修复版本。例如 1.0.0 → 1.0.1
35
+ - npm run publish:minor 发正式版 minor,日常迭代发布。例如 1.0.1 → 1.1.0
36
+ - npm run publish:major 发正式版 major,重大版本迭代。例如 1.1.0 → 2.0.0
37
37
  - npm run publish:beta 发测试版,例如 1.0.1 → 1.0.2-beta.0,下一次为 1.0.2-beta.1
38
38
 
39
+ #### hotfix
40
+
41
+ # 拉取最新 tags
42
+
43
+ git fetch --tags
44
+
45
+ # 查看所有 tags
46
+
47
+ git tag
48
+
49
+ # 基于某个 tag 修改,创建新hotfix分支
50
+
51
+ git checkout -b hotfix/branch v2.1.3
52
+
39
53
  ## 站点仓库集成
40
54
 
41
55
  package.json中加入依赖,加入postinstall脚本配置,执行npm install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zz-shopify-components",
3
- "version": "0.0.27",
3
+ "version": "0.0.28-beta.1",
4
4
  "description": "Reusable Shopify components for theme projects",
5
5
  "keywords": [
6
6
  "shopify",