Only build .deb for releases
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user