diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/release.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh index 572e6bdca..1c23c228c 100755 --- a/scripts/release.sh +++ b/scripts/release.sh | |||
@@ -1,5 +1,12 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | if [ -z "$1" ]; then | ||
4 | echo "Need version as argument" | ||
5 | exti -1 | ||
6 | fi | ||
7 | |||
8 | npm version $1 | ||
9 | |||
3 | npm run build | 10 | npm run build |
4 | npm test | 11 | npm test |
5 | 12 | ||