Only build .deb for releases
This commit is contained in:
parent
af6406e4c8
commit
55cf268d6a
@ -45,8 +45,13 @@ debian:
|
||||
stage: package
|
||||
dependencies:
|
||||
- linux/amd64
|
||||
only:
|
||||
- tags
|
||||
script:
|
||||
- mkdir -p deb/usr/bin
|
||||
- cp gomuks deb/usr/bin/gomuks
|
||||
- chmod -R -s deb/DEBIAN && chmod -R 0755 deb/DEBIAN
|
||||
- dpkg-deb --build deb gomuks-$(cat deb/DEBIAN/control | grep Version | awk '{ print $2 }').deb
|
||||
- dpkg-deb --build deb gomuks.deb
|
||||
artifacts:
|
||||
paths:
|
||||
- gomuks.deb
|
||||
|
Loading…
Reference in New Issue
Block a user