I was wondering if it is possible to conditionally set the name of my build artifact in my Azure DevOps build pipeline \"publish artifact\" task? I want to produce differen
This is the bash version in case you run the task on Linux. The NAME is a custom variable which uses the pre-defined variable as value.
trigger_model_version=RELEASE_ARTIFACTS_${NAME^^}_BUILDNUMBER export version=${!trigger_model_version} echo Deploying ${NAME}:${version}