dumb-downloader/scripts/rename_releases.sh

11 lines
278 B
Bash
Raw Normal View History

2023-01-17 21:35:35 +00:00
#!/bin/bash
echo 'renaming clin to clin-$VERSION-$SYSTEM format'
mkdir -p release
echo "version - $CLIN_VERSION"
2023-01-17 21:35:35 +00:00
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