Browse Source

Fix project version extraction in CI

.github/workflows/build.yml:
Adapt the project version extraction in CI to the syntax changes in
the top-level wscript.
pull/826/head
David Runge 3 years ago
parent
commit
f85c65949e
No known key found for this signature in database GPG Key ID: 54C28F4FF5A1A949
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .github/workflows/build.yml

+ 1
- 1
.github/workflows/build.yml View File

@@ -308,7 +308,7 @@ jobs:
apt-get source -d jackd2 apt-get source -d jackd2
tar xf *.debian.tar.xz tar xf *.debian.tar.xz
rm -rf debian/source rm -rf debian/source
dch -M -b -v "$(cat wscript | awk 'sub("VERSION=","")' | tr -d "'")~$(date +"%Y%m%d")git${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}" -D focal "automated build"
dch -M -b -v "$(cat wscript | awk 'sub("^VERSION = ","")' | tr -d "'")~$(date +"%Y%m%d")git${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}" -D focal "automated build"
debuild -rfakeroot --no-lintian || true debuild -rfakeroot --no-lintian || true
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:


Loading…
Cancel
Save