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

feat: automate release mirroring #212

Merged
merged 2 commits into from
Nov 9, 2023
Merged

feat: automate release mirroring #212

merged 2 commits into from
Nov 9, 2023

Conversation

alexeagle
Copy link
Member

We fall behind SWC releases quite quickly


Type of change

  • Chore (any other change that doesn't affect source or test files, such as configuration)

Test plan

Manually run the workflow after merge

We fall behind SWC releases quite quickly
@jbedard
Copy link
Member

jbedard commented Nov 9, 2023

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
Copy link
Member Author

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

@jbedard
Copy link
Member

jbedard commented Nov 9, 2023

It seems like 6e5be76 isn't working with the latest release?

@alexeagle
Copy link
Member Author

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

npx @bazel/buildifier swc/private/versions.bzl
bazel run docs:update
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @peter-evans!

Copy link
Member

@gregmagolan gregmagolan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@jbedard
Copy link
Member

jbedard commented Nov 9, 2023

#213 - this was expanding symlinks for me, at least locally

This shouldn't be needed anymore since we'll mirror daily.
Of course it's still possible, we just don't need to hand-hold.
@alexeagle alexeagle merged commit 90c01a0 into main Nov 9, 2023
3 checks passed
@alexeagle alexeagle deleted the release_mirror branch November 9, 2023 23:30
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

Successfully merging this pull request may close these issues.

3 participants