grasp/publish

13 lines
155 B
Plaintext
Raw Normal View History

2019-01-06 14:15:53 -08:00
#!/bin/bash
set -eu
VERSION="$(git tag --points-at)"
[[ -n $VERSION ]]
2019-01-06 15:14:03 -08:00
OUT="grasp-$VERSION.zip"
2019-01-06 14:15:53 -08:00
npm run build
2019-01-06 15:14:03 -08:00
zip -r -j "$OUT" build/*
unzip -l "$OUT"