Skip to content
Snippets Groups Projects
Verified Commit 64d0ef75 authored by Mateusz Tyszczak's avatar Mateusz Tyszczak :scroll:
Browse files

fixup! Remove tail from npm pack package script

parent ecf882d9
No related branches found
No related tags found
No related merge requests found
Pipeline #116014 passed
This commit is part of merge request !73. Comments created here will be created in the context of that merge request.
#!/usr/bin/env bash
set -e
set -xe
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
......@@ -15,7 +15,9 @@ pushd "${SOURCE_DIR}" # move to the project directory (where package.json file i
"${SCRIPTPATH}/npm_generate_version.sh" "${SOURCE_DIR}" "${REGISTRY_URL}" "${SCOPE}" "${PROJECT_NAME}" "${COMMIT_REF_PROTECTED}" "${COMMIT_TAG}"
pnpm pack --pack-destination "${OUTPUT_DIR}" --json
pnpm pack --pack-destination "${OUTPUT_DIR}" --json > "${OUTPUT_DIR}/built_package_info.json"
cat "${OUTPUT_DIR}/built_package_info.json"
BUILT_PACKAGE_NAME=$(jq -r .filename "${OUTPUT_DIR}/built_package_info.json")
{
echo PACKAGE_SOURCE_DIR="${SOURCE_DIR}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment