Skip to content

Commit

Permalink
build(hacs): delete unnecessary folder when zipping
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed Jul 12, 2020
1 parent 826eb7d commit 0998366
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ steps:
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml'
# We run the GitHub release only if it is a tag and the python version is 3.8
# so we only execute this once.
- task: DeleteFiles@1
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['python.version'], '3.8'))
inputs:
Contents: 'apps/controllerx/controllerx.egg-info/'
- task: ArchiveFiles@2
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['python.version'], '3.8'))
inputs:
Expand Down

0 comments on commit 0998366

Please sign in to comment.