ci: move publishing .jar to separate stage

Publishing jar relies on native lib artifacts beeing
published to GH release first, thus a separate stage
is needed to guarantee order.

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
Alexander Bezzubov 2018-10-23 23:55:57 +02:00
parent 5833f33f41
commit dc7b8d7215
No known key found for this signature in database
GPG Key ID: 8039F5787EFCD05D

View File

@ -21,6 +21,8 @@ stages:
- name: test
- name: release
if: tag IS present
- name: publish
if: tag IS present
jobs:
include:
@ -101,7 +103,7 @@ jobs:
skip_cleanup: true
- name: 'java: publish to maven'
stage: release
stage: publish
language: scala
jdk: oraclejdk8
install: