ensure we hav a .deb file for every drone commit
This commit is contained in:
parent
271974e98f
commit
c7c3300350
2 changed files with 4 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -6,8 +6,9 @@ drone.sublime-workspace
|
|||
*~
|
||||
~*
|
||||
*.sqlite
|
||||
drone.deb
|
||||
drone.rpm
|
||||
*.deb
|
||||
*.deb.*
|
||||
*.rpm
|
||||
*.out
|
||||
*.rice-box.go
|
||||
|
||||
|
|
1
Makefile
1
Makefile
|
@ -69,6 +69,7 @@ deb:
|
|||
--vendor "drone.io" -a amd64 \
|
||||
--config-files /etc/drone/drone.toml \
|
||||
packaging/root/=/
|
||||
cp packaging/output/drone.deb packaging/output/drone.deb.$(SHA)
|
||||
|
||||
rpm:
|
||||
fpm -s dir -t rpm -n drone -v $(VERSION) -p packaging/output/drone.rpm \
|
||||
|
|
Loading…
Reference in a new issue