We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ff139f commit 2b89ce9Copy full SHA for 2b89ce9
run-mysql-8.0.sh
run-mysql-oldest.sh
@@ -0,0 +1,8 @@
1
+#!/usr/bin/env bash
2
+
3
+SOURCE_DIR=`dirname "${BASH_SOURCE[0]}"`
4
5
+MYSQL_VERSION=$(curl -s --request GET --url https://endoflife.date/api/mysql.json |
6
+jq -r --arg today $(date +%Y%m%d) 'map(select((.eol == false) or ((.eol | gsub("-";"") | tonumber) > ($today | tonumber)))) | min_by(.cycle) | .cycle')
7
8
+MYSQL_VERSION=$MYSQL_VERSION $SOURCE_DIR/_run-mysql.sh
0 commit comments