NurseBot/buildtools/versions.sh

9 lines
182 B
Bash
Raw Normal View History

2018-07-10 19:40:22 +00:00
#!/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