From 7d0acc989191b2d1bfd6851bde72afd9bea929b1 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Wed, 11 Oct 2017 00:32:29 +0100 Subject: [PATCH] Add script to magically make a tarball, bump version to 0.4 Signed-off-by: Ikey Doherty --- meson.build | 2 +- mkrelease.sh | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100755 mkrelease.sh diff --git a/meson.build b/meson.build index 4a2eaed..ccdbd6b 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'linux-steam-integration', ['c'], - version: '0.3', + version: '0.4', license: [ 'LGPL-2.1', ], diff --git a/mkrelease.sh b/mkrelease.sh new file mode 100755 index 0000000..8a4cdf1 --- /dev/null +++ b/mkrelease.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e + +git submodule init +git submodule update + +# Script for ikey because he went with meson. *shrug* +VERSION="0.4" +NAME="linux-steam-integration" +git-archive-all.sh --format tar --prefix ${NAME}-${VERSION}/ --verbose -t HEAD ${NAME}-${VERSION}.tar +xz -9 "${NAME}-${VERSION}.tar" + +gpg --armor --detach-sign "${NAME}-${VERSION}.tar.xz" +gpg --verify "${NAME}-${VERSION}.tar.xz.asc"