ndk
ndk copied to clipboard
[FR] make RC-status of releases a real part of the NDK
Description
I need to download the latest one automatically with .
#!/bin/bash
# Get the latest release tag from the remote repository
latest_tag=$(git ls-remote --tags https://github.com/android/ndk.git | awk -F'/' '{print $NF}' | sort -V | tail -n1)
# Store the tag in the variable
ANDROIDNDKVERSION=$latest_tag
# Print the variable to verify
echo "The latest release tag is: $ANDROIDNDKVERSION"
https://github.com/android/ndk/releases/tag/r28-rc2
This correlates to https://dl.google.com/android/repository/android-ndk-r28-beta3-linux.zip not https://dl.google.com/android/repository/android-ndk-r28-rc2-linux.zip
while
https://github.com/android/ndk/releases/tag/r28-beta1 is the name as its download file name.
I am using a supported NDK
- [x] I have checked and the NDK I'm using is currently supported
Affected versions
r28
What you really want here is for https://dl.google.com/android/repository/android-ndk-latest-linux.zip to be a valid URL, right?