mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:50:11 +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"
|