We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a59e24b + 3081770 commit cbd7511Copy full SHA for cbd7511
.devcontainer/post-create.sh
@@ -69,7 +69,9 @@ fi
69
# --- 6. Download and prepare phpMyAdmin ---
70
PMA_ROOT="/var/www/html/phpmyadmin"
71
echo "--> Downloading phpMyAdmin into $PMA_ROOT..."
72
-PMA_VERSION=5.2.3
+PMA_VERSION=$(curl -s https://api.github.com/repos/phpmyadmin/phpmyadmin/releases/latest | grep '"tag_name":' | sed -E 's/.*"RELEASE_([^"]+)".*/\1/' | tr '_' '.')
73
+
74
+echo "The current version is: $PMA_VERSION"
75
mkdir -p $PMA_ROOT
76
curl -o /tmp/phpmyadmin.tar.gz https://files.phpmyadmin.net/phpMyAdmin/${PMA_VERSION}/phpMyAdmin-${PMA_VERSION}-all-languages.tar.gz
77
tar xf /tmp/phpmyadmin.tar.gz --strip-components=1 -C $PMA_ROOT
0 commit comments