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 *.sqlite
drone.deb *.deb
drone.rpm *.deb.*
*.rpm
*.out *.out
*.rice-box.go *.rice-box.go

View file

@ -69,6 +69,7 @@ deb:
--vendor "drone.io" -a amd64 \ --vendor "drone.io" -a amd64 \
--config-files /etc/drone/drone.toml \ --config-files /etc/drone/drone.toml \
packaging/root/=/ packaging/root/=/
cp packaging/output/drone.deb packaging/output/drone.deb.$(SHA)
rpm: rpm:
fpm -s dir -t rpm -n drone -v $(VERSION) -p packaging/output/drone.rpm \ fpm -s dir -t rpm -n drone -v $(VERSION) -p packaging/output/drone.rpm \