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
|
*.sqlite
|
||||||
drone.deb
|
*.deb
|
||||||
drone.rpm
|
*.deb.*
|
||||||
|
*.rpm
|
||||||
*.out
|
*.out
|
||||||
*.rice-box.go
|
*.rice-box.go
|
||||||
|
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue