ndk icon indicating copy to clipboard operation
ndk copied to clipboard

[FR] make RC-status of releases a real part of the NDK

Open trcrsired opened this issue 9 months ago • 1 comments

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

trcrsired avatar Feb 11 '25 23:02 trcrsired

What you really want here is for https://dl.google.com/android/repository/android-ndk-latest-linux.zip to be a valid URL, right?

DanAlbert avatar Feb 12 '25 20:02 DanAlbert