Rustelo/scripts/dist-pack.sh
Jesús Pérez 0d0297423e
Some checks failed
CI/CD Pipeline / Test Suite (push) Has been cancelled
CI/CD Pipeline / Security Audit (push) Has been cancelled
CI/CD Pipeline / Performance Benchmarks (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (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 / Cleanup (push) Has been cancelled
chore: fix with CI and pre-commit
2026-02-08 20:37:49 +00:00

10 lines
370 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