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

Have Cirrus CI run cargo release --execute if version = ... was changed #7

Open
duckinator opened this issue Sep 22, 2024 · 0 comments

Comments

@duckinator
Copy link
Owner

duckinator commented Sep 22, 2024

cargo-dist can be set up so triggering the "Release" GitHub Workflow with the appropriate tag will create everything.

The tag used should be v followed by the version specified in Cargo.toml.

Cirrus CI tasks can be configured to only run when a diff includes a specific file.

It should be possible to check if the version was changed and, if so, trigger the "Release" workflow on GitHub. (This will likely need to be a runtime check -- if it's changed, trigger Release; otherwise do nothing and succeed. I don't think Cirrus' only_if/skip filters are advanced enough for this.)

@duckinator duckinator changed the title Have Cirrus CI trigger the "Release" GitHub Workflow Have Cirrus CI run cargo release --execute if version = ... was changed Sep 23, 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

No branches or pull requests

1 participant