step-sds icon indicating copy to clipboard operation
step-sds copied to clipboard

Making the conditions cleaner.

Open Montana opened this issue 1 year ago • 2 comments

Hello,

Making the conditions a bit cleaner for readability and modality.

The condition [[ "${tag_value:0:1}" == "v" ]] is equivalent to [[ ${last_half::1} == "v" ]], both checking if the first character is "v".

Montana avatar Oct 21 '24 15:10 Montana

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: dopey
:x: Montana
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Oct 21 '24 15:10 CLAassistant

Hey @Montana 👋, thanks for submitting the issue!

This seems like a useful update! Would you mind signing our CLA so we can continue to triage, test, and merge this PR?

Cheers 🍻

dopey avatar Oct 22 '24 21:10 dopey