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

New CARGO_MAKE_PROJECT_NAME and CARGO_MAKE_PROJECT_VERSION env vars #349

Closed
sagiegurari opened this issue Dec 30, 2019 · 0 comments
Closed
Assignees
Milestone

Comments

@sagiegurari
Copy link
Owner

for crates those 2 env vars should be same as the crate name and version.
but for workspaces it should be
project name: the workspace directory base name
version: if a member crate exists with the same name as the project name, take that value. or take the value of the member based on a new env var CARGO_MAKE_WORKSPACE_VERSION_CRATE which will hold the master version.

after that, need to update few tasks to use the new env vars so they will support workspace as well (such as github release creation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant