[travis] Fix package target release and versioning in build script