diff options
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 2 insertions, 2 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 |