summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts/release.sh
blob: 834a36f6ddb509670624c5e19134c17a3a213d40 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -xe
./autogen.sh;
./configure --enable-fusermount --enable-gnfs
make dist
sha512sum glusterfs-$RELEASE_VERSION.tar.gz > glusterfs-$RELEASE_VERSION.sha512sum
if [[ "$PUBLISH_ARCHIVES" == "true" ]]; then
    scp -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -i $BITS_KEY glusterfs-$RELEASE_VERSION.tar.gz glusterfs-$RELEASE_VERSION.sha512sum _bits-gluster@http.int.rht.gluster.org:/var/www/bits/pub/gluster/glusterfs/src/
fi