文件操作 - release-pipelines.yml
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3.12/site-packages/ansible_collections/azure/azcollection/release-pipelines.yml
编辑文件内容
# Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: tags: include: - v*.*.* pr: none pool: name: pool-ubuntu-2004 steps: - script: | pip install wheel pip install ansible==v2.14.0 ansible --version displayName: 'install ansible' - script: | ansible-galaxy collection build . displayName: 'build collection' - script: | ansible-galaxy collection publish *.tar.gz --api-key $(GALAXY_KEY) displayName: 'publish collection'
修改文件时间
将文件时间修改为当前时间的前一年
删除文件