mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:41:59 +01:00
13 lines
212 B
Plaintext
13 lines
212 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -o nounset
|
||
|
set -o errexit
|
||
|
set -o pipefail
|
||
|
|
||
|
read -r version < VERSION
|
||
|
|
||
|
tarball="piler-${version}.tar.gz"
|
||
|
|
||
|
git archive --prefix="piler-${version}/" HEAD | gzip -c > "$tarball"
|
||
|
sha256sum "$tarball"
|