mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-24 14:06:47 +01:00
ci: set dev version number in github action.
This commit is contained in:
parent
7e3badfb3f
commit
37ce3971c8
1 changed files with 4 additions and 1 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -19,7 +19,10 @@ jobs:
|
|||
sudo rm /etc/apparmor.d/usr.lib.snapd.snap-confine.real
|
||||
|
||||
- name: Build the apparmor.d package
|
||||
run: dpkg-buildpackage -b -d --no-sign
|
||||
run: |
|
||||
VERSION="0.$(git rev-list --count HEAD)-1"
|
||||
dch --newversion="$VERSION" --urgency=medium --distribution=stable --controlmaint "Release $VERSION"
|
||||
dpkg-buildpackage -b -d --no-sign
|
||||
|
||||
- name: Install apparmor.d
|
||||
run: sudo dpkg --install ../apparmor.d_*_all.deb
|
||||
|
|
Loading…
Reference in a new issue