mirror of
https://github.com/jlengrand/sample-node-api.git
synced 2026-03-10 08:41:23 +00:00
Modified prepare-workspace.sh and access permissions for bin files
Signed-off-by: Jadin Luong <Jadin.Luong@ibm.com>
This commit is contained in:
@@ -34,6 +34,10 @@ echo "[${SCRIPT_NAME}] cleaning PAX workspace ..."
|
||||
rm -fr "${PAX_WORKSPACE_DIR}/content"
|
||||
mkdir -p "${PAX_WORKSPACE_DIR}/content"
|
||||
|
||||
cp manifest.yaml "${PAX_WORKSPACE_DIR}/content"
|
||||
cp README.md "${PAX_WORKSPACE_DIR}/content"
|
||||
cp LICENSE "${PAX_WORKSPACE_DIR}/content"
|
||||
|
||||
# build client
|
||||
echo "[${SCRIPT_NAME}] building client ..."
|
||||
cd "dist"
|
||||
@@ -59,10 +63,10 @@ sed -e "s|{{build\.branch}}|${BRANCH_NAME}|g" \
|
||||
-e "s|{{build\.number}}|${BUILD_NUMBER}|g" \
|
||||
-e "s|{{build\.commitHash}}|${commit_hash}|g" \
|
||||
-e "s|{{build\.timestamp}}|${current_timestamp}|g" \
|
||||
"${PAX_WORKSPACE_DIR}/ascii/manifest.yaml" > "${PAX_WORKSPACE_DIR}/ascii/manifest.yaml.tmp"
|
||||
mv "${PAX_WORKSPACE_DIR}/ascii/manifest.yaml.tmp" "${PAX_WORKSPACE_DIR}/ascii/manifest.yaml"
|
||||
"${PAX_WORKSPACE_DIR}/content/manifest.yaml" > "${PAX_WORKSPACE_DIR}/content/manifest.yaml.tmp"
|
||||
mv "${PAX_WORKSPACE_DIR}/content/manifest.yaml.tmp" "${PAX_WORKSPACE_DIR}/content/manifest.yaml"
|
||||
echo "[${SCRIPT_NAME}] manifest:"
|
||||
cat "${PAX_WORKSPACE_DIR}/ascii/manifest.yaml"
|
||||
cat "${PAX_WORKSPACE_DIR}/content/manifest.yaml"
|
||||
echo
|
||||
|
||||
rsync -rv \
|
||||
|
||||
0
bin/configure-2.sh
Normal file → Executable file
0
bin/configure-2.sh
Normal file → Executable file
0
bin/configure.sh
Normal file → Executable file
0
bin/configure.sh
Normal file → Executable file
0
bin/env.sh
Normal file → Executable file
0
bin/env.sh
Normal file → Executable file
0
bin/start.sh
Normal file → Executable file
0
bin/start.sh
Normal file → Executable file
Reference in New Issue
Block a user