From 3ea5da603886bfab2d2097c46dce414334ee71b8 Mon Sep 17 00:00:00 2001 From: iamkun Date: Sat, 26 Jan 2019 20:48:25 +0800 Subject: [PATCH] chore: 2.5.1 fix --- build/release.sh | 20 ++++++++++---------- packages/theme-chalk/package.json | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/build/release.sh b/build/release.sh index faf7c0b37..1f6dccc2e 100644 --- a/build/release.sh +++ b/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 diff --git a/packages/theme-chalk/package.json b/packages/theme-chalk/package.json index 49f690a42..24db7097a 100644 --- a/packages/theme-chalk/package.json +++ b/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",