From c71cda46de70b3fb527faf392e7063810edd0d55 Mon Sep 17 00:00:00 2001 From: Joshua Strobl Date: Thu, 24 Sep 2020 02:45:17 +0300 Subject: [PATCH] Tag 0.5.4 release --- meson.build | 6 +++--- mkrelease.sh | 20 +++++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/meson.build b/meson.build index bcfc7d3..b1324f1 100644 --- a/meson.build +++ b/meson.build @@ -1,9 +1,9 @@ project( 'usysconf', ['c'], - version: '0.5.3', + version: '0.5.4', license: [ - 'GPL-2.0', + 'GPL-2.0-only', ], default_options: [ 'c_std=c11', @@ -49,7 +49,7 @@ cdata = configuration_data() # General options.. cdata.set_quoted('PACKAGE_NAME', meson.project_name()) cdata.set_quoted('PACKAGE_VERSION', meson.project_version()) -cdata.set_quoted('PACKAGE_URL', 'https://solus-project.com') +cdata.set_quoted('PACKAGE_URL', 'https://getsol.us') # Allow building a static binary. For now let's default to dynamic so we can # actually valgrind the thing. diff --git a/mkrelease.sh b/mkrelease.sh index 5ab3384..c28faef 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -1,13 +1,15 @@ -#!/bin/bash +#!/usr/bin/env bash set -e -git submodule init -git submodule update +rm -rf build +meson --prefix /usr build +ninja dist -C build -VERSION="0.5.3" -NAME="usysconf" -git-archive-all --format tar --prefix ${NAME}-${VERSION}/ --verbose -t HEAD ${NAME}-${VERSION}.tar -xz -9 "${NAME}-${VERSION}.tar" +VERSION=$(grep "version:" meson.build | head -n1 | cut -d"'" -f2) +TAR="usysconf-${VERSION}.tar.xz" +VTAR="usysconf-v${VERSION}.tar.xz" -gpg --armor --detach-sign "${NAME}-${VERSION}.tar.xz" -gpg --verify "${NAME}-${VERSION}.tar.xz.asc" +mv build/meson-dist/$TAR $VTAR + +gpg --armor --detach-sign $VTAR +gpg --verify "${VTAR}.asc" \ No newline at end of file