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
7 sed -i -e s/"^Version: .*$"/"Version: $VERNO"/g $WORKSPACE/sdk/R/DESCRIPTION
10 scp $WORKSPACE/sdk/ArvadosR_"$VERNO".tar.gz jenkinsapt@r.arvados.org:/var/www/r.arvados.org/src/contrib
11 ssh jenkinsapt@r.arvados.org 'cd /var/www/r.arvados.org/src/contrib && R -q -e "tools::write_PACKAGES()"'