Skip to content

Commit

Permalink
Tag 0.5.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshStrobl committed Sep 24, 2020
1 parent b3ef70a commit c71cda4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
6 changes: 3 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
@@ -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',
Expand Down Expand Up @@ -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.
Expand Down
20 changes: 11 additions & 9 deletions mkrelease.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit c71cda4

Please sign in to comment.