Skip to content

Commit 19e11d8

Browse files
committed
Added build script for v2
1 parent fd63805 commit 19e11d8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

hack/build-v2.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
set -euo pipefail
4+
5+
git stash
6+
git checkout v2
7+
git merge main --no-edit
8+
9+
# Build
10+
yarn build
11+
yarn package
12+
git add lib dist || true
13+
git commit -m "Build action" --allow-empty
14+
15+
# Push
16+
git push -u origin v2:v2

0 commit comments

Comments
 (0)