From 1b6990826bffef0f7f3f46cf1a389a6668cbaf31 Mon Sep 17 00:00:00 2001 From: Marcin Raba Date: Wed, 31 Jul 2024 22:04:29 +0200 Subject: [PATCH] SNOW-1055755: debug package build 1 --- scripts/packaging/build_packages.sh | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/scripts/packaging/build_packages.sh b/scripts/packaging/build_packages.sh index 80bdace735..3c7fbb674e 100755 --- a/scripts/packaging/build_packages.sh +++ b/scripts/packaging/build_packages.sh @@ -10,9 +10,9 @@ DEB_PGK_FILE_NAME="snowflake_cli_${VERSION}.${ARCH}.deb" RPM_PGK_FILE_NAME="snowflake_cli_${VERSION}.${ARCH}.rpm" echo "-----------------" -echo ${BASH_SOURCE} echo ${VERSION} echo ${THIS_DIR} +echo ${ROOT_DIR} echo ${ARCH} echo ${PKG_NAME} echo ${DEB_PGK_FILE_NAME} @@ -21,10 +21,6 @@ echo ${RPM_PGK_FILE_NAME} echo "-----------------" echo "Building deb for version ${VERSION} on ${ARCH}..." -echo ${PKG_NAME} -echo ${VERSION} -echo ${ARCH} -echo ${RPM_PGK_FILE_NAME} echo ${THIS_DIR} echo ${ROOT_DIR}/dist/snow/ pwd @@ -45,10 +41,6 @@ fpm \ echo "-----------------" echo "Building rpm for version ${VERSION} on ${ARCH}..." -echo ${PKG_NAME} -echo ${VERSION} -echo ${ARCH} -echo ${RPM_PGK_FILE_NAME} echo ${THIS_DIR} echo ${ROOT_DIR}/dist/snow/ pwd @@ -65,16 +57,3 @@ fpm \ --after-install ${THIS_DIR}/centos/after_install.sh \ --after-remove ${THIS_DIR}/centos/after_remove.sh \ --force - -# fpm \ -# -s dir \ -# -t rpm \ -# -n ${PKG_NAME} \ -# -v ${VERSION} \ -# -a native \ -# -p ${RPM_PKG_FILE_NAME} \ -# --prefix /usr/lib/snowflake/snowflake-cli \ -# --after-install ${THIS_DIR}/centos/after_install.sh \ -# --after-remove ${THIS_DIR}/centos/after_remove.sh \ -# --force \ -# ./dist/snow/