Skip to content

Commit

Permalink
自动生成const interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mizi-lin committed Aug 8, 2018
1 parent 0be0bc5 commit e368add
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mri-cli",
"version": "0.2.14",
"version": "0.2.15-b1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
32 changes: 16 additions & 16 deletions pub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ fi

echo "::::: 推送到NPM $_ov -> $_version"

#echo ":::::: 推送到NPM"
# npm publish
#
#if [ $? -eq 0 ]; then
#
# echo ":::::::::::: Git Mark 此次修改信息"
# git pull
# git add .
# git commit -am "$_ov -> $_version :: $_commit"
# git pull
# git push
#
# echo "::::::::::::::: Git Tag"
# git tag $_version -m "$_ov -> $_version :: $_commit"
# git push --tags
#fi
echo ":::::: 推送到NPM"
npm publish

if [ $? -eq 0 ]; then

echo ":::::::::::: Git Mark 此次修改信息"
git pull
git add .
git commit -am "$_ov -> $_version :: $_commit"
git pull
git push

echo "::::::::::::::: Git Tag"
git tag $_version -m "$_ov -> $_version :: $_commit"
git push --tags
fi

0 comments on commit e368add

Please sign in to comment.