dumb-downloader/scripts/rename_releases.sh
2023-03-24 15:39:47 +01:00

11 lines
268 B
Bash
Executable File

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