From 751546995d5f791d6941a6c35460e08a9d7dd785 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 27 Dec 2022 12:56:46 +0100 Subject: [PATCH] .gitlab-ci.yml - fixed artifact upload --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69ce698..26d97f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -125,9 +125,9 @@ deploy:debian: # The release number might increment if the package maintainer # updated the packaging, while the version number of the application # being packaged did not change. - - BUILD_NAME=build.deb # inherited by build-stage - - PACKAGE_NAME=`dpkg -I build/build.deb | grep "Package:" | awk '{ print $2 }'` - - PACKAGE_VERSION=`dpkg -I build/build.deb | grep "Version:" | awk '{ print $2 }'` + - BUILD_NAME=build/build.deb # inherited by build-stage + - PACKAGE_NAME=`dpkg -I ${BUILD_NAME} | grep "Package:" | awk '{ print $2 }'` + - PACKAGE_VERSION=`dpkg -I ${BUILD_NAME} | grep "Version:" | awk '{ print $2 }'` - PACKAGE_ARCH=amd64 - EXPORT_NAME="${PACKAGE_NAME}_${PACKAGE_VERSION}-0_${PACKAGE_ARCH}.deb" - mv ${BUILD_NAME} ${EXPORT_NAME}