Commit 442e71b8 authored by Tomasz Kucner's avatar Tomasz Kucner
Browse files

add release build on tag

parent 2547880a
......@@ -78,3 +78,45 @@ ubuntu-xenial-build-package-nightbuild:
paths:
- build/*
# Ubuntu 16.04 debian package generation
ubuntu-xenial-build-package-release:
image: ubuntu:xenial
variables:
CI_ROS_DISTRO: kinetic
UBUNTU_DISTRO: xenial
before_script:
- echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
- echo $CI_ROS_DISTRO
- echo ${CI_ROS_DISTRO}
- apt-get update
- apt-get install -qq -y apt-transport-https sed wget unzip > /dev/null
- source .gitlab-ci/prepare.sh
- chmod +x setup.sh
- ./setup.sh $UBUNTU_DISTRO $CI_ROS_DISTRO > /dev/null
- setup_apt ${UBUNTU_DISTRO}
# - apt-get install -q -y python-bloom devscripts # > /dev/null
- apt-get install -q -y python-bloom devscripts debhelper > /dev/null
- apt-get install -f -y # > /dev/null
- rosdep update 2> /dev/null
- rosdep install --from-paths . -i -y -r --rosdistro $CI_ROS_DISTRO 2> /dev/null
- add_ndt_core_yaml
stage: release-build
script:
- ls *
- rm -rf build
- source .gitlab-ci/release.sh
- show_info
- mkdir .build
- release_package
- mv .build build
only:
- tags
# The files which are to be made available in GitLab
artifacts:
paths:
- build/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment