Commit fc22bc43 authored by Tomasz Kucner's avatar Tomasz Kucner
Browse files

small fixes in release scripts

parent cd4e623c
......@@ -3,7 +3,7 @@
add_ndt_core_yaml() {
# echo "Here you can add dependencies";
echo "yaml https://gitsvn-nt.oru.se/software/aass_rosdep/raw/master/kinetic.yml" | tee /etc/ros/rosdep/sources.list.d/50-aass.list
rosdep update #> /dev/null
rosdep update > /dev/null
}
setup_apt() {
......
#!/bin/bash
release_messages() {
for i in *msgs; do
create_debian_package "$i"
done
dpkg -i ros-*msgs*_amd64.deb #> /dev/null
}
release_dependency_packages() {
for i in ndt_generic ndt_map ndt_registration ndt_rviz ndt_visualisation ; do
create_debian_package "$i"
dpkg -i ros-*_amd64.deb #> /dev/null
done
#dpkg -i ros-*_amd64.deb #> /dev/null
move_debian_packages
}
release_ros_wrappers() {
for i in `ls -d */|grep -v 'rosdep\|images\|msgs\|ndt_core'`; do
create_debian_package "$i"
dpkg -i ros-*_amd64.deb > /dev/null
done
dpkg -i ros-*_amd64.deb #> /dev/null
move_debian_packages
}
release_meta_package() {
create_debian_package "ndt_core"
dpkg -i ros-*_amd64.deb #> /dev/null
dpkg -i ros-*_amd64.deb > /dev/null
move_debian_packages
}
......@@ -38,7 +23,7 @@ create_debian_package() {
echo "generating debian package for $1"
bloom-generate rosdebian --os-name ubuntu --os-version $UBUNTU_DISTRO --ros-distro $CI_ROS_DISTRO &&\
sed -i 's/dh $@/dh $@ --parallel/' debian/rules
debuild -rfakeroot -us -uc -b -j8 #> /dev/null
debuild -rfakeroot -us -uc -b -j8 > /dev/null
touch .done
fi
cd ..
......@@ -49,9 +34,7 @@ move_debian_packages() {
}
release_package() {
#release_messages
release_dependency_packages
#release_ros_wrappers
release_meta_package
}
......
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