File: mkrelease.sh

package info (click to toggle)
brisk-menu 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 984 kB
  • sloc: ansic: 5,796; xml: 93; sh: 71; makefile: 14
file content (15 lines) | stat: -rwxr-xr-x 317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
set -e

rm -rf build
meson --prefix /usr build
ninja dist -C build

VERSION=$(grep "version:" meson.build | head -n1 | cut -d"'" -f2)
TAR="brisk-menu-${VERSION}.tar.xz"
VTAR="brisk-menu-v${VERSION}.tar.xz"

mv build/meson-dist/$TAR $VTAR

gpg --armor --detach-sign $VTAR
gpg --verify "${VTAR}.asc"