Some checks failed
CI/CD Pipeline / Test Suite (push) Has been cancelled
CI/CD Pipeline / Security Audit (push) Has been cancelled
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Performance Benchmarks (push) Has been cancelled
CI/CD Pipeline / Cleanup (push) Has been cancelled
10 lines
372 B
Bash
Executable File
10 lines
372 B
Bash
Executable File
#!/bin/bash
|
|
[ -z "$1" ] && echo "No OS ARCH is provided (ej: linux-amd64) " && exit
|
|
OS_ARCH=$1
|
|
TARGET_PATH=dist/jpl-website-$OS_ARCH.tar.gz
|
|
TARGET_LIST=scripts/dist-list-files
|
|
if tar --exclude='.DS_Store' -czf $TARGET_PATH -T $TARGET_LIST ; then
|
|
echo "--------------------------------------------------------------"
|
|
echo "$TARGET_LIST PACKED IN $TARGET_PATH"
|
|
fi
|