chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

commit 620646cd82443b023cb4edeed9d9b240befb58d9
parent 58adfc007f1fee7f1a2cc21af17fb4dbfe0608eb
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Wed, 21 Oct 2026 14:27:47 +0000

repo: upload script

Diffstat:
Atools/repo/upload.sh | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/tools/repo/upload.sh b/tools/repo/upload.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# upload the repo and the isos to sourceforge (needs your ssh key on sourceforge) +# tools/repo/upload.sh repo and isos +# tools/repo/upload.sh iso just the isos +# run it again if it stops, it carries on where it was +set -eu +cd "$(dirname "$0")/../.." +DEST=${DEST:-torter@frs.sourceforge.net:/home/frs/project/chameslerepos} + +if [ "${1:-}" != iso ]; then + rsync -av --partial --progress -e ssh work/repo/x86_64/ "$DEST/x86_64/" +fi +rsync -av --partial --progress -e ssh out/*.iso out/*.iso.sha256 "$DEST/iso/"