Debian package and publish changes

- Use parameters instead of env vars to create debian packages.
- Target to publish the deb package to the debian repo.
This commit is contained in:
Sridhar Periyasamy 2016-03-08 23:33:18 +00:00
parent ae041c8f61
commit 015bda2137
6 changed files with 134 additions and 276 deletions

View file

@ -47,6 +47,14 @@ download_and_install_last_version(){
install_last_version
}
delete_last_version(){
rm -f "$DIR/last_version.deb"
}
cleanup(){
delete_last_version
}
@test "package install + removal test" {
install_package
remove_package
@ -68,5 +76,6 @@ download_and_install_last_version(){
remove_package
install_package
purge_package
cleanup
fi
}