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

Add GitHub Actions workflow to run cargo publish on release #9

Merged
merged 2 commits into from
Aug 10, 2022

Conversation

kitsuyui
Copy link
Owner

@kitsuyui kitsuyui commented Aug 10, 2022

cargo publish will be executed via GitHub Release.

Versioning

Currently, version in Cargo.toml must be updated by manually.

There is no way to pass git tag dynamically.
https://stackoverflow.com/questions/52176130/how-to-tell-cargo-to-use-git-tags-to-determine-the-crate-version
rust-lang/cargo#841
https://github.com/crate-ci/cargo-release

@codecov
Copy link

codecov bot commented Aug 10, 2022

Codecov Report

Merging #9 (c42953a) into main (d93c750) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          701       701           
=========================================
  Hits           701       701           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@kitsuyui kitsuyui force-pushed the workflow-cargo-publish branch from 2a4d43c to 9af45c3 Compare August 10, 2022 04:30
@kitsuyui kitsuyui force-pushed the workflow-cargo-publish branch from 9af45c3 to c42953a Compare August 10, 2022 04:31
@kitsuyui kitsuyui merged commit b0a4ce1 into main Aug 10, 2022
@kitsuyui kitsuyui changed the title WIP: Add GitHub Actions workflow to run cargo publish on release Add GitHub Actions workflow to run cargo publish on release Aug 10, 2022
@kitsuyui kitsuyui deleted the workflow-cargo-publish branch August 10, 2022 04:50
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.

1 participant