sort pr by id when showing theme (latest first)

pull/4/head
fdb-hiroshima 5 years ago committed by GitHub
parent 03f8b00bba
commit 119b6ad09b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -59,7 +59,7 @@ inotifywait -m ./ -e create -e moved_to |
popd
#get comma separated list of running containers
currently_running=$(docker container ls | grep -Eo 'plume-pr-[0-9]+' | cut -c10- | tr '\n' ',')
currently_running=$(docker container ls | grep -Eo 'plume-pr-[0-9]+' | cut -c10- | tr '\n' ',' | sort -r)
#remove trailing ',' and convert to json
echo '['"${currently_running::-1}"']' > static/up.json

Loading…
Cancel
Save