Tag name not well-formed #26551
-
In the root of my repository, I have a VERSION.txt file that contains something like v1.2.3. My workflow is:
The step “Echo release name” outputs the right name I want to give to the release, which is something like v1.2.3
It seems like How to make |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The problem is with this
Imane0:
You’ll need to process the version file in a step, and set output parameters or environment variables, whichever works better for your use case. If you need the version parts in multiple jobs it’s probably better to use outputs and turn them into job outputs (see |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. I removed the
and it worked. |
Beta Was this translation helpful? Give feedback.
The problem is with this
env
definition, you can’t use Bash expressions there:You’ll need to process the version file in a step, and set output parameters or environment variables, whichever works better for your use case. If you need the version parts in multiple jobs it’s probably better to use outputs and turn them into job outputs (see
jobs.<job_id>.outputs
).