Add script to create signed tarballs for upload (#193)
This commit is contained in:
parent
070f024f61
commit
109275dd08
1
expat/.gitignore
vendored
1
expat/.gitignore
vendored
@ -35,4 +35,5 @@ build__R*
|
||||
coverage__R*
|
||||
source__R*
|
||||
/expat-*.tar.bz2
|
||||
/expat-*.tar.bz2.asc
|
||||
/stamp-h1
|
||||
|
20
expat/distribute.sh
Executable file
20
expat/distribute.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#! /bin/bash
|
||||
# Copyright (C) 2018 Sebastian Pipping <sebastian@pipping.org>
|
||||
# Licensed under the MIT license
|
||||
#
|
||||
# Creates release tarball and detached GPG signature file for upload
|
||||
|
||||
set -e
|
||||
|
||||
PS4='# '
|
||||
set -x
|
||||
|
||||
version="$(./conftools/get-version.sh lib/expat.h)"
|
||||
archive=expat-${version}.tar.bz2
|
||||
|
||||
./buildconf.sh
|
||||
./configure
|
||||
make distcheck
|
||||
|
||||
gpg --armor --output ${archive}.asc --detach-sign ${archive}
|
||||
gpg --verify ${archive}.asc ${archive}
|
Loading…
Reference in New Issue
Block a user