mirror of
https://github.com/sigmasternchen/NurseBot
synced 2025-03-14 23:58:58 +00:00
8 lines
182 B
Bash
Executable file
8 lines
182 B
Bash
Executable file
#!/bin/bash
|
|
|
|
DEPLOY_DIR=$1
|
|
VERSIONS=./versions
|
|
|
|
ls $DEPLOY_DIR/$VERSIONS/*.jar | while read file; do
|
|
echo $file | awk -F"NurseBot" '{ print $2 }' | awk -F".jar" '{ print $1 }'
|
|
done
|