diff options
Diffstat (limited to '.github/workflows/docker-debian')
-rwxr-xr-x | .github/workflows/docker-debian/entrypoint.sh | 4 |
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 | |||
4 | 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 git build-essential | 4 | 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 git build-essential |
5 | git submodule sync | 5 | git submodule sync |
6 | 6 | ||
7 | set RELEASE_VERSION=`git tag | sort -rV | head -n1 | sed 's/v\(.*\)/\1/'` | ||
8 | |||
7 | git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz | 9 | git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz |
8 | tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz | 10 | tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz |
9 | ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz | 11 | ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz |
10 | cd lagrange-${RELEASE_VERSION} | 12 | cd lagrange-${RELEASE_VERSION} |
13 | dch -v ${RELEASE_VERSION}-1 "Built by GitHub CI." | ||
14 | dch -r "" | ||
11 | debuild | 15 | debuild |
12 | cd .. | 16 | cd .. |
13 | mkdir -p artifacts | 17 | mkdir -p artifacts |