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

ci: add auto publish #16

Merged
merged 14 commits into from
Mar 17, 2024
Merged

ci: add auto publish #16

merged 14 commits into from
Mar 17, 2024

Conversation

JyJyJcr
Copy link
Collaborator

@JyJyJcr JyJyJcr commented Mar 13, 2024

Prerequisites:

  • Set CARGO_REGISTRY_TOKEN as a github secret.

Usage:

  • Push with a tag starts with test-release
    Upload .gz files as artifacts.
  • Push with a tag starts with v
    Upload the files as release, and publish into crates.io.

we already have v0.1.3, so I recommend to use a tag with build metadata, like v0.1.3+autobuild v0.1.3+autopublish, used in this PR.

@oowl
Copy link
Owner

oowl commented Mar 17, 2024

@JyJyJcr I think you can set Secret in the GitHub setting due to you are already a maintainer. And I will invite you to crates.io. Pls, wait for a moment.

@oowl
Copy link
Owner

oowl commented Mar 17, 2024

You can test this action in test-release tag or master branch? feel free to merge it.

@JyJyJcr
Copy link
Collaborator Author

JyJyJcr commented Mar 17, 2024

seems I don't have enough authority. There is no tab Settings in my view.

@JyJyJcr
Copy link
Collaborator Author

JyJyJcr commented Mar 17, 2024

and there is no way to revert the update of the crate (we only can yank it), it is hard to check the action. I set the action to publish with tag v** but not with test-release** for safety.

@JyJyJcr
Copy link
Collaborator Author

JyJyJcr commented Mar 17, 2024

merge to try publish

@JyJyJcr JyJyJcr merged commit 5667b8a into oowl:master Mar 17, 2024
9 checks passed
@oowl
Copy link
Owner

oowl commented Mar 17, 2024

Hi @JyJyJcr , I prefer to use the rebase and squash merge, Can you try to recreate this PR?

@JyJyJcr JyJyJcr mentioned this pull request Mar 17, 2024
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.

2 participants