-
Notifications
You must be signed in to change notification settings - Fork 123
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
Use Github Action to automatically publish crate to crate.io #211
Conversation
Would this work after #207? Because we'd need to publish multiple crates in that case. |
Note that #207 has already been merged, so you may continue your work on this now. No rush of course, as I see you're still busy with #224. I just wanted to update the status of this PR :) As a tip, you might want to take a look at how already existing crates do this:
Bevy's solution is probably easier because I don't think we'll be modifying the set of crates in the repo anytime soon. If you have difficulties with the shell scripting let me know and I'll help you out. |
I am fine with bash script, thanks. It seems Bevy uses a shell script to publish crates, but it doesn't leverage on Github Action CI? Just publishing by running shell script. |
Yes they seem to release the new versions manually. In our case we just have to run the script in the CI flow. |
No, sorry. What I meant is that you could make |
Also I think the git config part isn't necessary, in other projects' CI I haven't added that and it worked fine. Afterwards we can merge. |
…ng/rspotify into ramsay_use_ci_to_publish_crate
Description
Adding a continuous deployment flow with Github Action that automatically publish everything to
crates.io
once a tag is publishedMotivation and Context
Fixed #210
Dependencies
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
After this PR merged, creating a new tag named
0.10
and check if the Continuous Deployment flow works. Is there a better way to test?