Skip to content

Commit

Permalink
SNOW-1055755: debug package build 1
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mraba committed Jul 31, 2024
1 parent 48056ea commit 1b69908
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions scripts/packaging/build_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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/

0 comments on commit 1b69908

Please sign in to comment.