Rustelo/scripts/dist-pack.sh
Jesús Pérez 7cab57b645
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
chore: update layout and files
2026-02-08 20:18:46 +00:00

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