Переглянути джерело

Merge pull request #14228 from iamkun/bugfix/2.5.1fix

chore: 2.5.1 fix
Zhi Cun 6 роки тому
батько
коміт
15b76faef0
2 змінених файлів з 11 додано та 11 видалено
  1. 10 10
      build/release.sh
  2. 1 1
      packages/theme-chalk/package.json

+ 10 - 10
build/release.sh

@@ -16,16 +16,16 @@ then
   VERSION=$VERSION npm run dist
 
   # publish theme
-  # echo "Releasing theme-chalk $VERSION ..."
-  # cd packages/theme-chalk
-  # npm version $VERSION --message "[release] $VERSION"
-  # if [[ $VERSION =~ "beta" ]]
-  # then
-  #   npm publish --tag beta
-  # else
-  #   npm publish
-  # fi
-  # cd ../..
+  echo "Releasing theme-chalk $VERSION ..."
+  cd packages/theme-chalk
+  npm version $VERSION --message "[release] $VERSION"
+  if [[ $VERSION =~ "beta" ]]
+  then
+    npm publish --tag beta
+  else
+    npm publish
+  fi
+  cd ../..
 
   # commit
   git add -A

+ 1 - 1
packages/theme-chalk/package.json

@@ -1,6 +1,6 @@
 {
   "name": "element-theme-chalk",
-  "version": "2.5.0",
+  "version": "2.5.1",
   "description": "Element component chalk theme.",
   "main": "lib/index.css",
   "style": "lib/index.css",