ensure we hav a .deb file for every drone commit

This commit is contained in:
Brad Rydzewski 2015-02-05 19:09:52 -08:00
parent 271974e98f
commit c7c3300350
2 changed files with 4 additions and 2 deletions

5
.gitignore vendored
View file

@ -6,8 +6,9 @@ drone.sublime-workspace
*~
~*
*.sqlite
drone.deb
drone.rpm
*.deb
*.deb.*
*.rpm
*.out
*.rice-box.go

View file

@ -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 \