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

Create a "latest build" release for tagged release versions #99

Open
elcritch opened this issue Jan 29, 2025 · 2 comments
Open

Create a "latest build" release for tagged release versions #99

elcritch opened this issue Jan 29, 2025 · 2 comments

Comments

@elcritch
Copy link
Contributor

elcritch commented Jan 29, 2025

Currently there are releases such as Latest successful build for branch version-2-2 for the last successful build for that branch.

However there isn't anything similar for the tagged Nim releases. Take the latest Nim version v2.2.0 which is at Commit 78983f1. There's no nightlies release for "Latest build for release v2.2.0".

Ideally this would allow us to setup github runner actions which installed Nim simply by:

curl https://github.com/nim-lang/nightlies/releases/tag/latest-release-2.2.0/linux_arm64.tar.xz
untar linux_arm64.tar.xz

Specifically it'd need to be easy to do this:

NIM_VERSION=v2.2.0
curl https://github.com/nim-lang/nightlies/releases/tag/latest-release-${NIM_VERSION}/linux_arm64.tar.xz
@elcritch
Copy link
Contributor Author

elcritch commented Jan 29, 2025

It appears the build scripts for nightlies have all the info needed, between here:

https://github.com/nim-lang/nightlies/blob/f8ae93238d532e694486a4dc88726e4b82830799/.github/workflows/nightlies.yml#L124C1-L125C1

And here:

tag='latest-${{ matrix.setting.branch }}'

@elcritch
Copy link
Contributor Author

I'd make a PR but I don't understand the build action well and it's pretty massive bit of logic. :)

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

1 participant