summaryrefslogtreecommitdiff
path: root/.github/workflows/docker-debian
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/docker-debian')
-rwxr-xr-x.github/workflows/docker-debian/entrypoint.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/docker-debian/entrypoint.sh b/.github/workflows/docker-debian/entrypoint.sh
index 67518f3b..6ad4f3e0 100755
--- a/.github/workflows/docker-debian/entrypoint.sh
+++ b/.github/workflows/docker-debian/entrypoint.sh
@@ -4,10 +4,14 @@ apt-get update -qq -y
4apt-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 git build-essential 4apt-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 git build-essential
5git submodule sync 5git submodule sync
6 6
7set RELEASE_VERSION=`git tag | sort -rV | head -n1 | sed 's/v\(.*\)/\1/'`
8
7git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz 9git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz
8tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz 10tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz
9ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz 11ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz
10cd lagrange-${RELEASE_VERSION} 12cd lagrange-${RELEASE_VERSION}
13dch -v ${RELEASE_VERSION}-1 "Built by GitHub CI."
14dch -r ""
11debuild 15debuild
12cd .. 16cd ..
13mkdir -p artifacts 17mkdir -p artifacts