Files
mochi/rel.sh
Lawrence, Rendall 772ac47e9c update dependencies
* add script for release pack
* fix lint warnings
2024-03-05 10:32:30 +03:00

8 lines
344 B
Bash

#!/bin/sh
vv="`git describe --tags --abbrev=0`"
tt="`TZ=UTC date +'%Z %F'`"
tar -czf /out/"mochi-${vv}-linux-amd64.tar.gz" --owner=root --group=root --numeric-owner --mtime="${tt}" "mochi-${vv}-linux-amd64"
tar -czf /out/"mochi-${vv}-linux-aarch64.tar.gz" --owner=root --group=root --numeric-owner --mtime="${tt}" "mochi-${vv}-linux-aarch64"