Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
trcrsired opened this issue Feb 11, 2025 · 1 comment
Open
1 task done

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

trcrsired opened this issue Feb 11, 2025 · 1 comment

Comments

@trcrsired
Copy link

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

  • I have checked and the NDK I'm using is currently supported

Affected versions

r28

@trcrsired trcrsired added the bug label Feb 11, 2025
@DanAlbert DanAlbert changed the title [BUG] Please make the name of release/tags the same as the file name. [FR] make RC-status of releases a real part of the NDK Feb 12, 2025
@DanAlbert DanAlbert removed the bug label Feb 12, 2025
@DanAlbert
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants