hpcpack-web-portal/make-zip

9 строки
190 B
Bash
Executable File

#!/bin/bash
version=${1:?Version is required.}
cd dist/web-portal && \
echo "$version" > version && \
git rev-parse --short HEAD > revision && \
zip -r ../"WebPortal-$version.zip" *