get the actual version, not the line
Gitea Bucky/url-shortener/pipeline/head This commit looks good

This commit is contained in:
2023-10-24 18:11:12 -07:00
parent 21eeb9db72
commit 40e3703650
Vendored
+1 -1
View File
@@ -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"