From ef7718f230f076d369f8c66064e7b542d24e57ed Mon Sep 17 00:00:00 2001 From: Fernando Monserrat Date: Fri, 13 Jul 2018 12:44:55 -0300 Subject: [PATCH] 13667: test fail on rpm package Arvados-DCO-1.1-Signed-off-by: Fernando Monserrat --- build/run-library.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/run-library.sh b/build/run-library.sh index b829d760d7..27773eefca 100755 --- a/build/run-library.sh +++ b/build/run-library.sh @@ -310,7 +310,7 @@ handle_rails_package() { cd "$srcdir" local license_path="$1"; shift local version="$(version_from_git)" - echo "$version" >>package-build.version + echo "$version" >package-build.version local scripts_dir="$(mktemp --tmpdir -d "$pkgname-XXXXXXXX.scripts")" && \ ( set -e @@ -318,8 +318,8 @@ handle_rails_package() { cd "$srcdir" mkdir -p tmp git rev-parse HEAD >git-commit.version - echo "$version" >>git-commit.version - echo "$version" >>package-build.version + echo "lalala" >>git-commit.version + echo "test insert version" >"$railsdir/package-build.version" bundle package --all ) if [[ 0 != "$?" ]] || ! cd "$WORKSPACE/packages/$TARGET"; then @@ -329,6 +329,8 @@ handle_rails_package() { return 1 fi local railsdir="/var/www/${pkgname%-server}/current" + echo "$version" >"$railsdir/package-build.version" + echo "test insert version" >"$railsdir/package-build.version" local -a pos_args=("$srcdir/=$railsdir" "$pkgname" "Curoverse, Inc." dir "$version") local license_arg="$license_path=$railsdir/$(basename "$license_path")" local -a switches=(--after-install "$scripts_dir/postinst" -- 2.30.2