summaryrefslogtreecommitdiff
path: root/release.sh
blob: 5d6f7f53342c3a9f73907b7ec22b2fba4a18fd17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

set -eu

pkgname=icedove
brandingver=78.5
brandingrel=1

srcdir=src
distdir=${pkgname}-${brandingver}
tarball=${pkgname}_${brandingver}-${brandingrel}.branding.tar.xz

rm -rf $distdir/
mkdir -pv $distdir

cp -rv $srcdir/* $distdir/

rm -f ${tarball}{,.sig}
tar -cJf $tarball $distdir
gpg --output ${tarball}.sig --detach-sig $tarball
rm -rf $distdir

echo "dist tarball:   $tarball"
echo "dist signature: $tarball.sig"