aspect-build / rules_swc

Bazel rules for the swc toolchain https://swc.rs/
https://docs.aspect.build/rules/aspect_rules_swc
Apache License 2.0
41 stars 21 forks source link

feat: automate release mirroring #212

Closed alexeagle closed 6 months ago

alexeagle commented 6 months ago

We fall behind SWC releases quite quickly


Type of change

Test plan

Manually run the workflow after merge

jbedard commented 6 months ago

Did you double check this doesn't include nightly? I think the existing script did for me.

There are also a lot of releases and I'm not sure if we really want or need them all. The latest also seems broken which I've been meaning to look at today.

alexeagle commented 6 months ago

Yes I added map(select(.tag_name | contains("nightly") | not)) to the JQ filter to skip those.

jbedard commented 6 months ago

It seems like https://github.com/aspect-build/rules_swc/commit/6e5be767a76de1e19d9ba2307f2b8d977c03219b isn't working with the latest release?

alexeagle commented 6 months ago

Is there a failure somewhere for that? I think we'd just get a red PR here if LATEST_SWC_VERSION is broken

jbedard commented 6 months ago

https://github.com/aspect-build/rules_swc/pull/213 - this was expanding symlinks for me, at least locally