Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions build/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/theme-chalk/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down