File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -6,28 +6,28 @@ read -p "Releasing $VERSION - are you sure? (y/n)" -n 1 -r
6
6
echo # (optional) move to a new line
7
7
if [[ $REPLY =~ ^[Yy]$ ]]
8
8
then
9
- echo " Releasing $VERSION ..."
9
+ echo " Releasing $VERSION ..."
10
10
11
- # lint and test
12
- npm run lint 2> /dev/null
13
- npm run unit 2> /dev/null
14
- npm run cover 2> /dev/null
11
+ # lint and test
12
+ npm run lint 2> /dev/null
13
+ npm run unit 2> /dev/null
14
+ npm run cover 2> /dev/null
15
15
16
- # build
17
- VERSION=$VERSION npm run build
16
+ # build
17
+ VERSION=$VERSION npm run build
18
18
19
- # e2e
20
- npm run e2e 2> /dev/null
21
- # sauce
22
- npm run sauce-all 2> /dev/null
19
+ # e2e
20
+ npm run e2e 2> /dev/null
21
+ # sauce
22
+ npm run sauce-all 2> /dev/null
23
23
24
- # commit
25
- git add -A
26
- git commit -m " [build] $VERSION "
27
- npm version $VERSION --message " [release] $VERSION "
24
+ # commit
25
+ git add -A
26
+ git commit -m " [build] $VERSION "
27
+ npm version $VERSION --message " [release] $VERSION "
28
28
29
- # publish
30
- git push origin refs/tags/v$VERSION
31
- git push
32
- npm publish
29
+ # publish
30
+ git push origin refs/tags/v$VERSION
31
+ git push
32
+ npm publish
33
33
fi
You can’t perform that action at this time.
0 commit comments