Fix build artifact downloads in production builds

This commit is contained in:
David Wilson
2018-08-02 10:24:36 -07:00
parent 52d6d43485
commit e4e04cb074
3 changed files with 3 additions and 7 deletions

View File

@@ -43,11 +43,9 @@ phases:
- task: DownloadBuildArtifacts@0
displayName: Download Release Artifacts
inputs:
artifactName: Binaries
- script: |
$(Build.SourcesDirectory)\script\publish-release.cmd --create-github-release --assets-path "$(System.ArtifactsDirectory)/Binaries"
$(Build.SourcesDirectory)\script\publish-release.cmd --create-github-release --assets-path "$(System.ArtifactsDirectory)"
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
ATOM_RELEASE_VERSION: $(ReleaseVersion)

View File

@@ -49,11 +49,9 @@ phases:
- task: DownloadBuildArtifacts@0
displayName: Download Release Artifacts
inputs:
artifactName: Binaries
- script: |
$(Build.SourcesDirectory)\script\publish-release.cmd --assets-path "$(System.ArtifactsDirectory)/Binaries" --s3-path "vsts-artifacts/$(Build.BuildId)"
$(Build.SourcesDirectory)\script\publish-release.cmd --assets-path "$(System.ArtifactsDirectory)" --s3-path "vsts-artifacts/$(Build.BuildId)/"
env:
ATOM_RELEASE_VERSION: $(ReleaseVersion)
ATOM_RELEASES_S3_KEY: $(ATOM_RELEASES_S3_KEY)