summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml5
1 files changed, 3 insertions, 2 deletions
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:
22 run: | 22 run: |
23 git submodule sync 23 git submodule sync
24 sudo apt-get update -qq -y 24 sudo apt-get update -qq -y
25 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 25 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
26 sudo pip3 install git-archive-all
26 - name: import-signing-key 27 - name: import-signing-key
27 run: | 28 run: |
28 mkdir -p ~/.gnupg/ 29 mkdir -p ~/.gnupg/
@@ -33,7 +34,7 @@ jobs:
33 - name: package-build 34 - name: package-build
34 run: | 35 run: |
35 export RELEASE_VERSION=`git tag | sort -rV | head -n1 | sed 's/v\(.*\)/\1/'` 36 export RELEASE_VERSION=`git tag | sort -rV | head -n1 | sed 's/v\(.*\)/\1/'`
36 git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz 37 git archive-all --prefix=lagrange-${RELEASE_VERSION}/ lagrange-${RELEASE_VERSION}.tar.gz
37 tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz 38 tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz
38 ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz 39 ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz
39 cd lagrange-${RELEASE_VERSION} 40 cd lagrange-${RELEASE_VERSION}