diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-29 15:12:51 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-29 15:12:51 +0200 |
commit | 84c6e1391bd0f703b75a97f2e45307001ef5e2b9 (patch) | |
tree | dd05e5bf5deca71c3ef59f00b7ee27f1dbc1828c /.github/workflows | |
parent | ad5dbd42d12e4eb2f1b09df272f628daed0e535b (diff) |
GitHub: Problem with CI script
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 4 | ||||
-rwxr-xr-x | .github/workflows/docker-debian/entrypoint.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2eb7b76..e18770fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -32,7 +32,7 @@ jobs: | |||
32 | GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | 32 | GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} |
33 | - name: package-build | 33 | - name: package-build |
34 | run: | | 34 | run: | |
35 | set RELEASE_VERSION=`git tag | sort -rV | head -n1 | sed 's/v\(.*\)/\1/'` | 35 | 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 | 36 | git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz |
37 | tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz | 37 | tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz |
38 | ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz | 38 | ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz |
@@ -46,7 +46,7 @@ jobs: | |||
46 | shell: bash | 46 | shell: bash |
47 | - name: plain-build | 47 | - name: plain-build |
48 | run: | | 48 | run: | |
49 | set RELEASE_VERSION=`git tag | sort -rV | head -n1 | sed 's/v\(.*\)/\1/'` | 49 | export RELEASE_VERSION=`git tag | sort -rV | head -n1 | sed 's/v\(.*\)/\1/'` |
50 | mkdir builddir | 50 | mkdir builddir |
51 | cd builddir | 51 | cd builddir |
52 | cmake .. -DCMAKE_BUILD_TYPE=Release | 52 | cmake .. -DCMAKE_BUILD_TYPE=Release |
diff --git a/.github/workflows/docker-debian/entrypoint.sh b/.github/workflows/docker-debian/entrypoint.sh index 6ad4f3e0..1f2560d4 100755 --- a/.github/workflows/docker-debian/entrypoint.sh +++ b/.github/workflows/docker-debian/entrypoint.sh | |||
@@ -4,7 +4,7 @@ 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/'` | 7 | export RELEASE_VERSION=`git tag | sort -rV | head -n1 | sed 's/v\(.*\)/\1/'` |
8 | 8 | ||
9 | 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 |
10 | tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz | 10 | tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz |