From 46b609c9e8df1077a5e187fce0ba77c810aa71bf Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 9 Dec 2020 16:33:54 +0200 Subject: GitHub: Use git-archive-all also in Ubuntu build --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8afef565..7a97b746 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,8 @@ jobs: run: | git submodule sync sudo apt-get update -qq -y - sudo apt-get install -y -qq --no-install-recommends cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev libmpg123-dev debhelper dh-make devscripts fakeroot build-essential + sudo apt-get install -y -qq --no-install-recommends cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev libmpg123-dev debhelper dh-make devscripts fakeroot build-essential python3 python3-pip + sudo pip3 install git-archive-all - name: import-signing-key run: | mkdir -p ~/.gnupg/ @@ -33,7 +34,7 @@ jobs: - name: package-build run: | export RELEASE_VERSION=`git tag | sort -rV | head -n1 | sed 's/v\(.*\)/\1/'` - git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz + git archive-all --prefix=lagrange-${RELEASE_VERSION}/ lagrange-${RELEASE_VERSION}.tar.gz tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz cd lagrange-${RELEASE_VERSION} -- cgit v1.2.3