LucianoPAlmeida/bitrise-step-swift-environment-variable-injector

Failed with error of missing value

Closed this issue · 8 comments

Hi @LucianoPAlmeida
I'm trying to use your step on bitrise, but there is an error on the last version (0.3.3).

Error: Missing value for '--ignore <ignore>'
Usage: variable-injector-tool [--verbose] [--file <file> ...] [--ignore <ignore> ...]
  See 'variable-injector-tool --help' for more information.

If I set any value to the ignore field then everything works fine.

Thanks for reporting this!
Yeah, this is being happening since we moved to swift-argument-parser because it validates the params.
There are a couple of solutions for this, but TBH I didn't took the time to do it. I'll try look into this ASAP :)

@LucianoPAlmeida got it, anyway thank you for the solution.
It would be great if you fix it.

018a8b4 fixes it, I just need to remember how to publish a new step version on bitrise.

I'm going to let this open util the new version is out =]

Thanks for the fix! Do you know when you will be able to publish the new version of this step?

I'll get a shot at this soon, I think is just a matter of remembering the steps required to update it on bitrise ... :)

Hi @LucianoPAlmeida

You can submit an updated version PR here: https://github.com/bitrise-io/bitrise-steplib

Similar to your previous PR here: bitrise-io/bitrise-steplib#1967

This also should be fixed in 0.1.2