2023-01-17 21:35:35 +00:00
|
|
|
#!/bin/bash
|
2023-02-12 08:51:14 +00:00
|
|
|
echo 'renaming dudo to dudo-$VERSION-$SYSTEM format'
|
2023-01-17 21:35:35 +00:00
|
|
|
mkdir -p release
|
2023-03-21 09:38:34 +00:00
|
|
|
echo "version - $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"
|
2023-03-21 09:38:34 +00:00
|
|
|
cp $BUILD/dudo release/dudo-$VERSION-$SYSTEM
|
2023-01-17 21:35:35 +00:00
|
|
|
done
|
|
|
|
ls release
|