123456789101112131415161718192021222324 |
- #!/bin/bash
- set -e
- NAME="gamemode"
- VERSION=$(git describe --tags --dirty)
- git archive HEAD --format=tar --prefix=${NAME}-${VERSION}/ --output=${NAME}-${VERSION}.tar
- meson subprojects download
- meson subprojects update
- tar -rf ${NAME}-${VERSION}.tar --exclude-vcs --transform="s,^subprojects,${NAME}-$VERSION/subprojects," subprojects/inih-r54/
- xz -9 "${NAME}-${VERSION}.tar"
- gpg --armor --detach-sign "${NAME}-${VERSION}.tar.xz"
- gpg --verify "${NAME}-${VERSION}.tar.xz.asc"
- sha256sum "${NAME}-${VERSION}.tar.xz" "${NAME}-${VERSION}.tar.xz.asc" > sha256sums.txt
|