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

chore(publishing): Fix canary publishing for next branch #11429

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

Josh-Walker-GM
Copy link
Collaborator

@Josh-Walker-GM Josh-Walker-GM commented Sep 4, 2024

You'll see that the canary publishing for the next branch is broken. Example action log: https://github.com/redwoodjs/redwood/actions/runs/10706015686/job/29682729719

The problem as I see it is that we're grep'ing for -canary. but in this case we're looking to publish with the -next. prefix which is clearly the one output by lerna. This PR updates the grep to use a regex for either the next or canary match.

This is going to ultimately be a "merge it and find out" sort of fix.

@Josh-Walker-GM Josh-Walker-GM added release:chore This PR is a chore (means nothing for users) changesets-ok Override the changesets check labels Sep 4, 2024
@Josh-Walker-GM Josh-Walker-GM added this to the chore milestone Sep 4, 2024
@Josh-Walker-GM Josh-Walker-GM self-assigned this Sep 4, 2024
@Josh-Walker-GM Josh-Walker-GM merged commit f00dc43 into main Sep 4, 2024
30 checks passed
@Josh-Walker-GM Josh-Walker-GM deleted the jgmw/chore-publishing-next-fix branch September 4, 2024 23:24
Josh-Walker-GM added a commit that referenced this pull request Sep 4, 2024
You'll see that the canary publishing for the next branch is broken.
Example action log:
https://github.com/redwoodjs/redwood/actions/runs/10706015686/job/29682729719

The problem as I see it is that we're grep'ing for `-canary.` but in
this case we're looking to publish with the `-next.` prefix which is
clearly the one output by lerna. This PR updates the grep to use a regex
for either the next or canary match.
dac09 added a commit to dac09/redwood that referenced this pull request Sep 5, 2024
…-additional-tests

* 'main' of github.com:redwoodjs/redwood:
  chore(rsc): Remove unused methods in the worker (redwoodjs#11431)
  chore(rsc): Simplify worker by not using vite config (redwoodjs#11430)
  Adds section about job errors and failure, backports to versioned 8.0
  chore(publishing): Fix canary publishing for next branch (redwoodjs#11429)
  chore(changesets): Delete old ones post v8 release (redwoodjs#11428)
  fix(rsc): Don't run the Vite dev server in production (redwoodjs#11425)
  fix(rsa): Use dist filenames when registering server references (redwoodjs#11417)
  chore(test-project): Update to postcss 8.4.45 (redwoodjs#11424)
  chore(docs): Compress v7 versions into v7.x (redwoodjs#11422)
  restore workspace:* in package.json files
  Revert "deps(react): 18.3.1 (redwoodjs#10885)"
  v8.0.0
  Version docs to 8.0
  Trigger CI
  deps(react): 18.3.1 (redwoodjs#10885)
  chore(rsa): Add missing routes to test project blog (redwoodjs#11421)
  RSC: Add blog pages to kitchen sink test project (redwoodjs#11420)
  chore(rsc): Refactor: Clean up RSA babel transform (redwoodjs#11415)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:chore This PR is a chore (means nothing for users)
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant