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

Don't panic when Env Vars are missing #48

Open
EstebanBorai opened this issue Jun 23, 2023 · 0 comments
Open

Don't panic when Env Vars are missing #48

EstebanBorai opened this issue Jun 23, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@EstebanBorai
Copy link
Collaborator

EstebanBorai commented Jun 23, 2023

Here we could return error over paniking

https://github.com/whizzes/cargo-tag/blob/main/src/git.rs#L21-L26


AngelicHeartfeltHog-size_restricted

@EstebanBorai EstebanBorai added enhancement New feature or request good first issue Good for newcomers labels Jun 23, 2023
@EstebanBorai EstebanBorai changed the title Do net panic when Env Vars are missing Don't panic when Env Vars are missing Jun 23, 2023
oylenshpeegul pushed a commit to oylenshpeegul/cargo-tag that referenced this issue Jun 24, 2023
Use the environment variables CARGO_TAG_NAME and CARGO_TAG_EMAIL
instead if they are set.

I think this closes whizzes#48 as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: 📋 Todo
Development

No branches or pull requests

1 participant