Skip to content

Commit 9f69167

Browse files
authored
fix release script [ci skip]
1 parent 8b4e1c9 commit 9f69167

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/release.bat

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ if exist release rd /s /q release
1010
mkdir release
1111
cd release
1212
git clone --branch master "https://github.com/eidng8/vue-tree.git"
13+
cd vue-tree
14+
git config user.email "cheung.jackey@gmail.com"
15+
git config user.name eidng8
1316

1417
set RELEASE=%1
1518
if "%RELEASE%"=="" set RELEASE=patch
@@ -28,13 +31,13 @@ goto END
2831

2932
:ERR
3033
echo Error occurred!
31-
cd ..
34+
cd ..\..
3235
rd /s /q release
3336
cd "%CWD%"
3437
pause
3538
exit 1
3639

3740
:END
38-
cd ..
41+
cd ..\..
3942
rd /s /q release
4043
cd "%CWD%"

0 commit comments

Comments
 (0)