4 if [[ "x$VERSION" == "x" ]]; then
5 echo "Usage: $0 version"
10 git describe
$TAG &>/dev
/null
11 if [[ $?
-ne 0 ]]; then
12 echo "Cannot find the git tag $TAG"
16 git archive
--format=tar --prefix=trojita-
$VERSION/ $TAG \
17 LICENSE README
*.pri
*.pro src tests qtc_packaging
-o trojita-
$VERSION.
tar
18 ln -s . trojita-
$VERSION
19 python l10n-fetch-po-files.py
20 tar rf trojita-
$VERSION.
tar trojita-
$VERSION/po
/trojita_common_
*.po
22 bzip2 -9 trojita-
$VERSION.
tar
23 gpg
--armor --detach-sign trojita-
$VERSION.
tar.bz2