Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

feat(ci): Publish crates upon release #104

Merged
merged 1 commit into from
Feb 17, 2023
Merged

Conversation

phated
Copy link
Contributor

@phated phated commented Feb 17, 2023

Related issue(s)

Resolves #93

Description

This adds automatic publishing to crates.io when a release-please PR is merged (after the tags are created). I separated this out into a separate workflow and dispatch to it so we can manually run the publish workflow if we need, which can be useful for recovering from a failed build, debugging, etc.

Since cargo doesn't support publishing everything in a workspace, we have to publish the exact correct order and this will need to be updated if the dependencies change.

Summary of changes

(Describe the changes in this PR. Point out breaking changes if any.)

Dependency additions / changes

(If applicable.)

Test additions / changes

(If applicable.)

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.

Additional context

(If applicable.)

@kevaundray kevaundray merged commit b265920 into master Feb 17, 2023
@github-actions github-actions bot mentioned this pull request Feb 17, 2023
@phated phated deleted the phated/publish-on-release branch February 17, 2023 21:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracking Issue: Automatically publish to crates.io
2 participants