dumb-downloader/scripts/rename_releases.sh
2023-01-18 13:28:57 +01:00

11 lines
278 B
Bash
Executable File

#!/bin/bash
echo 'renaming clin to clin-$VERSION-$SYSTEM format'
mkdir -p release
echo "version - $CLIN_VERSION"
for BUILD in build*; do
SYSTEM=$(echo $BUILD | sed -e 's/build-//g')
echo "system - $SYSTEM"
cp $BUILD/clin release/clin-$CLIN_VERSION-$SYSTEM
done
ls release