13 lines
155 B
Bash
Executable file
13 lines
155 B
Bash
Executable file
#!/bin/bash
|
|
set -eu
|
|
|
|
|
|
VERSION="$(git tag --points-at)"
|
|
[[ -n $VERSION ]]
|
|
|
|
OUT="grasp-$VERSION.zip"
|
|
|
|
npm run build
|
|
zip -r -j "$OUT" build/*
|
|
unzip -l "$OUT"
|