How to publish an artifact of Azure Pipelines into the main branch of the repository?
I'm trying to create a file into my repository with the version of the current build, that gets updated automatically whenever there's a push to the main. I've tried using - task: Bash@3 inputs: targetType: 'inline' script: | sudo echo…