Nick Wellnhofer 5ca4ce6fc0 gitlab-ci: Add "dist" job to build distribution tarball
Prepare for GNOME Release Service.
2024-12-09 23:28:38 +01:00

12 lines
235 B
Bash

#!/bin/sh
set -e
mkdir -p libxml2-dist
cd libxml2-dist
sh ../autogen.sh
make distcheck V=1 DISTCHECK_CONFIGURE_FLAGS='--with-legacy'
if [ -z "$CI_COMMIT_TAG" ]; then
mv libxml2-*.tar.xz libxml2-git-$CI_COMMIT_SHORT_SHA.tar.xz
fi