Skip to content

Commit fb7d62b

Browse files
committed
package format parameter for linux tasks
1 parent bd233ae commit fb7d62b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

dev/tasks/linux-packages/travis.linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ deploy:
6262
provider: releases
6363
api_key: $CROSSBOW_GITHUB_TOKEN
6464
file_glob: true
65-
file: "**/*.rpm" # TODO(kszucs) or deb depending on context
65+
file: "**/*.{{ package_format }}"
6666
skip_cleanup: true
6767
on:
6868
tags: true

dev/tasks/tasks.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,34 +254,39 @@ tasks:
254254
template: linux-packages/travis.linux.yml
255255
params:
256256
build_command: rake apt:build APT_TARGETS=ubuntu-trusty PARALLEL=no DEBUG=no
257+
package_format: deb
257258
artifacts: #TODO
258259

259260
ubuntu-xenial:
260261
platform: linux
261262
template: linux-packages/travis.linux.yml
262263
params:
263264
build_command: rake apt:build APT_TARGETS=ubuntu-xenial PARALLEL=no DEBUG=no
265+
package_format: deb
264266
artifacts: #TODO
265267

266268
ubuntu-artful:
267269
platform: linux
268270
template: linux-packages/travis.linux.yml
269271
params:
270272
build_command: rake apt:build APT_TARGETS=ubuntu-artful PARALLEL=no DEBUG=no
273+
package_format: deb
271274
artifacts: #TODO
272275

273276
ubuntu-bionic:
274277
platform: linux
275278
template: linux-packages/travis.linux.yml
276279
params:
277280
build_command: rake apt:build APT_TARGETS=ubuntu-bionic PARALLEL=no DEBUG=no
281+
package_format: deb
278282
artifacts: #TODO
279283

280284
centos-6:
281285
platform: linux
282286
template: linux-packages/travis.linux.yml
283287
params:
284288
build_command: rake yum:build CENTOS_VERSIONS=6 PARALLEL=no DEBUG=no
289+
package_format: rpm
285290
artifacts:
286291
- arrow-{version}-1.el6.src.rpm
287292
- arrow-{version}-1.el7.src.rpm
@@ -304,3 +309,4 @@ tasks:
304309
template: linux-packages/travis.linux.yml
305310
params:
306311
build_command: rake yum:build CENTOS_VERSIONS=7 PARALLEL=no DEBUG=no
312+
package_format: rpm

0 commit comments

Comments
 (0)