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

Improving code to avoid unset variables. #178

Merged
merged 2 commits into from Mar 26, 2024

Conversation

Martinski4GitHub
Copy link
Collaborator

Code changes to prevent the possibility of ending up with unset variables which leads to runtime error messages.

Code changes to prevent the possibility of ending up with unset variables which leads to runtime error messages.
else
CURRENT_TAG=$(git tag --sort=-v:refname | head -n 1)
if [[ $TAG == '' ]]; then
Copy link
Owner

Choose a reason for hiding this comment

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

Smart man, approved! Totally left this over from the old solution, I don't expect this to ever trigger (hopefully?) but still should be set correctly!

@ExtremeFiretop ExtremeFiretop merged commit a6c665a into ExtremeFiretop:dev Mar 26, 2024
1 check passed
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.

None yet

2 participants