Files
UnrealEngine/Engine/Source/ThirdParty/Expat/expat-2.2.10/distribute.sh
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

30 lines
541 B
Bash

#! /usr/bin/env 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)"
./buildconf.sh
./configure
make distcheck
extensions=(
gz
bz2
lz
xz
)
for ext in ${extensions[@]} ; do
archive=expat-${version}.tar.${ext}
gpg --armor --output ${archive}.asc --detach-sign ${archive}
gpg --verify ${archive}.asc ${archive}
done