mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 04:08:10 +08:00
Update: release script
This commit is contained in:
parent
528067f3cd
commit
37510831ca
@ -1,3 +1,6 @@
|
||||
git checkout master
|
||||
git merge dev
|
||||
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
echo "Enter release version: "
|
||||
@ -25,11 +28,11 @@ then
|
||||
npm version $VERSION --message "[release] $VERSION"
|
||||
|
||||
# publish
|
||||
git push eleme dev
|
||||
git checkout master
|
||||
git merge dev
|
||||
git push eleme master
|
||||
git push eleme refs/tags/v$VERSION
|
||||
git checkout dev
|
||||
git merge master
|
||||
git push eleme dev
|
||||
|
||||
npm publish
|
||||
fi
|
||||
|
@ -217,6 +217,7 @@ export default {
|
||||
if (Object.prototype.toString.call(data._self) === '[object Object]') {
|
||||
for (let prop in data._self) {
|
||||
if (!data.hasOwnProperty(prop)) {
|
||||
// _self.$set(data, prop, data._self[prop]);
|
||||
data[prop] = data._self[prop];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user