mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 13:47:26 +03:00
18 lines
509 B
Bash
Executable File
18 lines
509 B
Bash
Executable File
#!/bin/bash
|
|
SRC_FOLDER=deploy
|
|
TARGET_FOLDER=$1
|
|
CHANNEL=latest
|
|
|
|
if [ -d "$TARGET_FOLDER" ]; then rm -Rf $TARGET_FOLDER; fi
|
|
mkdir $TARGET_FOLDER
|
|
|
|
cp $SRC_FOLDER/*.blockmap $TARGET_FOLDER
|
|
cp $SRC_FOLDER/*.dmg $TARGET_FOLDER
|
|
cp $SRC_FOLDER/*.zip $TARGET_FOLDER
|
|
cp $SRC_FOLDER/*.AppImage $TARGET_FOLDER
|
|
cp $SRC_FOLDER/*.deb $TARGET_FOLDER
|
|
cp $SRC_FOLDER/*.exe $TARGET_FOLDER
|
|
cp $SRC_FOLDER/$CHANNEL.yml $TARGET_FOLDER
|
|
cp $SRC_FOLDER/$CHANNEL-mac.yml $TARGET_FOLDER
|
|
cp $SRC_FOLDER/$CHANNEL-linux.yml $TARGET_FOLDER
|