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: use global workspace version #1102

Merged
merged 7 commits into from
Jul 16, 2024
Merged

ci: use global workspace version #1102

merged 7 commits into from
Jul 16, 2024

Conversation

mattstam
Copy link
Member

@mattstam mattstam commented Jul 15, 2024

release-plz bumps each crate version individually based on changes, and I was concerned they would get out of sync with the "global" version that we have.

The solution is to define a version at the workspace Cargo.toml level, and have the crates reference that version. Also doing this for edition and license since those are also consistent throughout the workspace (leaving description and readme because long-term it will have these as different).

This will allow new crate releases to always stay in-sync on the same version defined in the workspace Cargo.toml.

Also adding repository, keywords, and categories as this helps with crate.io searchability.

@mattstam mattstam marked this pull request as ready for review July 15, 2024 19:12
@@ -23,7 +23,7 @@ WORKDIR /sp1/recursion/gnark-cli

RUN \
--mount=type=cache,target=target \
cargo build --release && cp target/release/sp1-recursion-gnark-cli /gnark-cli
cargo build --release && cp ../../target/release/sp1-recursion-gnark-cli /gnark-cli
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: this is required for putting recursion/gnark-cli in workspace

@mattstam mattstam merged commit 23841be into dev Jul 16, 2024
7 checks passed
@mattstam mattstam deleted the mattstam/workspace-version branch July 16, 2024 17:43
0xWOLAND pushed a commit that referenced this pull request Aug 3, 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