From 40e37036500fc79614c84f96a30f5e5e166b5413 Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Tue, 24 Oct 2023 18:11:12 -0700 Subject: [PATCH] get the actual version, not the line --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 07ddbbf..4e164f7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -102,7 +102,7 @@ pipeline { steps { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { sh ''' #!/usr/local/bin/bash - ZIP_FILE="url-shortener_${BRANCH_NAME}_$(cat VERSION).tgz" + ZIP_FILE="url-shortener_${BRANCH_NAME}_$(cat VERSION | cut -d"'" -f2).tgz" CUR_DIR=$(pwd) bundle config set --local without 'test' bundle config set --local path "vendor"