2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
5 # The script receives version as a parameter and builds the package producing a tar
6 # and this tarball is uploaded into the public server
9 sed -i -e s/"^Version: .*$"/"Version: $VERNO"/g DESCRIPTION
10 if [ -e Makefile ]; then
13 R CMD build . # Fallback for pre-3.0 releases
15 scp -o "StrictHostKeyChecking no" "ArvadosR_$VERNO.tar.gz" jenkinsapt@r.arvados.org:/var/www/r.arvados.org/src/contrib
16 ssh -o "StrictHostKeyChecking no" jenkinsapt@r.arvados.org 'cd /var/www/r.arvados.org/src/contrib && R -q -e "tools::write_PACKAGES()"'