Skip to content

Commit d5a5511

Browse files
committed
fix release script indent
1 parent bdee4d0 commit d5a5511

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

build/release.sh

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,28 @@ read -p "Releasing $VERSION - are you sure? (y/n)" -n 1 -r
66
echo # (optional) move to a new line
77
if [[ $REPLY =~ ^[Yy]$ ]]
88
then
9-
echo "Releasing $VERSION ..."
9+
echo "Releasing $VERSION ..."
1010

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
1515

16-
# build
17-
VERSION=$VERSION npm run build
16+
# build
17+
VERSION=$VERSION npm run build
1818

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
2323

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"
2828

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
3333
fi

0 commit comments

Comments
 (0)